[Xfce4-commits] r24253 - in thunar/trunk: . thunar

Benedikt Meurer benny at xfce.org
Wed Jan 3 11:01:50 CET 2007


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 <benny at xfce.org>

	* 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 <benny at xfce.org>
+
+	* thunar/main.c(main): Need to initialize GThread first.
+
 2006-12-31	Benedikt Meurer <benny at xfce.org>
 
 	* 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))
     {



More information about the Xfce4-commits mailing list