added call to g_thread_init(), as ORBit2 stopped doing it and Metacity is

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


svn path=/trunk/; revision=4063
This commit is contained in:
Frederic Peters
2008-12-25 13:06:00 +00:00
parent 151ddc08ec
commit b66fbc0369
2 changed files with 8 additions and 0 deletions

View File

@ -375,6 +375,9 @@ main (int argc, char **argv)
"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");