GNOME Bugzilla – Bug 565518
Missing call to g_thread_init()
Last modified: 2009-01-05 16:00:11 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. ** (gnome-user-share:14644): 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 125238 [details] [review] add g_thread_init() calls This patch adds the appropriate call to g_thread_init (to both gnome-user-share and the preferences dialog).
*** Bug 565231 has been marked as a duplicate of this bug. ***
Hello, I did a patch for that already but I forgot to patch the preference :). I'm not the maintainer but the patch seems good to me, anyway let's wait for Bastien.
Frankly, I think it's a bug in Orbit, or GConf, that we even get that warning. It's completely stupid for each application to have to be patched. ~/gnome-user-shared/src/ $ grep -i thread *.c ~/gnome-user-shared/src/ $ Suck. Where's the original bug opened against those libraries?
Bug 547885.
Orbit was reverted, closing.