After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 565517 - Missing call to g_thread_init()
Missing call to g_thread_init()
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2008-12-23 22:13 UTC by Frederic Peters
Modified: 2008-12-25 13:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
call g_thread_init (468 bytes, patch)
2008-12-23 22:14 UTC, Frederic Peters
committed Details | Review

Description Frederic Peters 2008-12-23 22:13:26 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!
Comment 1 Frederic Peters 2008-12-23 22:14:17 UTC
Created attachment 125237 [details] [review]
call g_thread_init

This patch adds the appropriate call to g_thread_init.
Comment 2 Frederic Peters 2008-12-24 10:03:09 UTC
Oops, wrong copy/paste, bug reference is 547885.
Comment 3 Elijah Newren 2008-12-24 16:19:29 UTC
Thanks.
Comment 4 Frederic Peters 2008-12-25 13:06:27 UTC
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.