metacity r4063 - in trunk: . src/core



Author: fpeters
Date: Thu Dec 25 13:06:00 2008
New Revision: 4063
URL: http://svn.gnome.org/viewvc/metacity?rev=4063&view=rev

Log:
* src/core/main.c: (main): added call to g_thread_init(), as ORBit2
stopped doing it and Metacity is using gconf; closes #565517.



Modified:
   trunk/ChangeLog
   trunk/src/core/main.c

Modified: trunk/src/core/main.c
==============================================================================
--- trunk/src/core/main.c	(original)
+++ trunk/src/core/main.c	Thu Dec 25 13:06:00 2008
@@ -375,6 +375,9 @@
     "Pango", "GLib-GObject", "GThread"
   };
   guint i;
+
+  if (!g_thread_supported ())
+    g_thread_init (NULL);
   
   if (setlocale (LC_ALL, "") == NULL)
     meta_warning ("Locale not understood by C library, internationalization will not work\n");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]