GNOME Bugzilla – Bug 565517
Missing call to g_thread_init()
Last modified: 2008-12-25 13:06:27 UTC
Aftermath of bug 564726, it is now required for modules using ORBit2 (implied by gconf for example) to declare they will be using threads. ** (metacity:14606): WARNING **: g_thread_init() has not been called. ORBit2 would like to use threads, so the application should have called g_thread_init(NULL) before any GLib or GLib-using API. Calling g_thread_init() now here inside the libORBit-2 library is too late, so instead threads won't be used by ORBit2. This might have bad side-effects. Fix the application!
Created attachment 125237 [details] [review] call g_thread_init This patch adds the appropriate call to g_thread_init.
Oops, wrong copy/paste, bug reference is 547885.
Thanks.
2008-12-25 Frederic Peters <fpeters@0d.be> * src/core/main.c: (main): added call to g_thread_init(), as ORBit2 stopped doing it and Metacity is using gconf; closes #565517.