Don't activate threads in GDK - they are deprecated in GTK3 already due to bugs.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 17 Feb 2014 00:09:13 +0000 (02:09 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Mon, 17 Feb 2014 00:09:13 +0000 (02:09 +0200)
src/panel.c

index 0080ae0..de2cad6 100644 (file)
@@ -1563,8 +1563,8 @@ int main(int argc, char *argv[], char *env[])
     setlocale(LC_CTYPE, "");
 
        g_thread_init(NULL);
-       gdk_threads_init();
-       gdk_threads_enter();
+/*     gdk_threads_init();
+       gdk_threads_enter(); */
 
     gtk_init(&argc, &argv);
 
@@ -1673,7 +1673,7 @@ restart:
     if( is_restarting )
         goto restart;
 
-    gdk_threads_leave();
+    /* gdk_threads_leave(); */
 
     g_object_unref(win_grp);
     g_object_unref(fbev);