From 92a50000c2421604f73ccad4e534948a4dc552e1 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 10 Apr 2016 14:55:06 +0200 Subject: 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). --- src/main.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/main.c') 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 -#endif #include #include #include @@ -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; -- cgit 1.4.1-2-gfad0