Author: benny
Date: 2007-01-03 10:01:49 +0000 (Wed, 03 Jan 2007)
New Revision: 24253

Modified:
   thunar/trunk/ChangeLog
   thunar/trunk/thunar/main.c
Log:
2007-01-03      Benedikt Meurer <[EMAIL PROTECTED]>

        * thunar/main.c(main): Need to initialize GThread first.




Modified: thunar/trunk/ChangeLog
===================================================================
--- thunar/trunk/ChangeLog      2007-01-03 08:01:52 UTC (rev 24252)
+++ thunar/trunk/ChangeLog      2007-01-03 10:01:49 UTC (rev 24253)
@@ -1,3 +1,7 @@
+2007-01-03     Benedikt Meurer <[EMAIL PROTECTED]>
+
+       * thunar/main.c(main): Need to initialize GThread first.
+
 2006-12-31     Benedikt Meurer <[EMAIL PROTECTED]>
 
        * thunar-vfs/thunar-vfs-update-thumbnailers-cache.c: Add ability to

Modified: thunar/trunk/thunar/main.c
===================================================================
--- thunar/trunk/thunar/main.c  2007-01-03 08:01:52 UTC (rev 24252)
+++ thunar/trunk/thunar/main.c  2007-01-03 10:01:49 UTC (rev 24253)
@@ -94,6 +94,10 @@
   g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
 #endif
 
+  /* initialize the GThread system */
+  if (!g_thread_supported ())
+    g_thread_init (NULL);
+
   /* initialize Gtk+ */
   if (!gtk_init_with_args (&argc, &argv, _("[FILES...]"), option_entries, 
GETTEXT_PACKAGE, &error))
     {

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to