about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorDavid <petrodavi@gmail.com>2016-03-12 17:37:46 +0100
committerDavid <petrodavi@gmail.com>2016-03-12 17:37:46 +0100
commit098d84ef73dcdfa78254edc79664e5fcf3ded6b3 (patch)
treed613a365b4c1f7bd90d4bf41e1ee03baa349f8e4 /src/main.c
parent06523f94744ea1cb86d92318eb5e7e8702b82c8a (diff)
parent520eee23a9ddea98ede89bc372f60c720f3ee725 (diff)
downloadprofani-tty-098d84ef73dcdfa78254edc79664e5fcf3ded6b3.tar.gz
Merge branch 'tray_icon' into HEAD
Let's thanks Aline <linuxine@gmail.com> for the icons.

Enjoy!
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 147d0b11..4f032913 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,8 +34,10 @@
 
 #include "prof_config.h"
 
+#include <gtk/gtk.h>
 #include <string.h>
 #include <glib.h>
+#include <assert.h>
 
 #ifdef PROF_HAVE_GIT_VERSION
 #include "gitversion.h"
@@ -139,6 +141,8 @@ main(int argc, char **argv)
         return 0;
     }
 
+    assert (gtk_init_check(&argc, &argv) == true);
+    gtk_init(&argc, &argv);
     prof_run(log, account_name);
 
     return 0;