diff options
author | David <petrodavi@gmail.com> | 2016-04-10 14:55:06 +0200 |
---|---|---|
committer | David <petrodavi@gmail.com> | 2016-04-10 15:44:37 +0200 |
commit | 92a50000c2421604f73ccad4e534948a4dc552e1 (patch) | |
tree | 43bfdfbf2849c3dedad8d7a5064febda20329373 /src/main.c | |
parent | 1e60d17d7c32194aa090f8d2ba7d5be4bffc0a44 (diff) | |
download | profani-tty-92a50000c2421604f73ccad4e534948a4dc552e1.tar.gz |
Re-introduce gtk_use boolean
This param is still actual, in case the environemnt does not support gtk initialization. Fix a GTK assert on the way (GTKStatusIcon is not a Widget, but a plain GObject).
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c index 242bf127..431feedc 100644 --- a/src/main.c +++ b/src/main.c @@ -34,9 +34,6 @@ #include "prof_config.h" -#ifdef PROF_HAVE_GTK -#include <gtk/gtk.h> -#endif #include <string.h> #include <glib.h> #include <assert.h> @@ -149,11 +146,6 @@ main(int argc, char **argv) return 0; } -#ifdef PROF_HAVE_GTK - if (gtk_init_check(&argc, &argv)) { - gtk_init(&argc, &argv); - } -#endif prof_run(log, account_name); return 0; |