about summary refs log tree commit diff stats
path: root/src/ui/tray.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-10-29 21:03:39 +0100
committerMichael Vetter <jubalh@iodoru.org>2019-10-29 21:03:39 +0100
commit900426025e49224875709faccd619d7fd5944496 (patch)
tree22b2e9d361fcd21f5fb98d0523dbf6cfcf14a697 /src/ui/tray.c
parentf5afedd171e37e52a8a6afcd788995855a101290 (diff)
downloadprofani-tty-900426025e49224875709faccd619d7fd5944496.tar.gz
Put ifdef around tray.h functions
Only define in case we built with GTK support.
Diffstat (limited to 'src/ui/tray.c')
-rw-r--r--src/ui/tray.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/tray.c b/src/ui/tray.c
index 39420def..a40b7dec 100644
--- a/src/ui/tray.c
+++ b/src/ui/tray.c
@@ -195,6 +195,12 @@ tray_set_timer(int interval)
     timer = g_timeout_add(interval * 1000, _tray_change_icon, NULL);
 }
 
+/*
+ * Create tray icon
+ *
+ * This will initialize the timer that will be called in order to change the icons
+ * and will search the icons in the defaults paths
+ */
 void
 tray_enable(void)
 {