diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-01-12 21:22:45 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-01-12 21:37:29 +0100 |
commit | fa2bced1f30f93443ef43ce8b5b1e437cd07168c (patch) | |
tree | 0d56a5f1fb22dd49f7e973f13833d5e8251dcec0 /gobject-2.0.pc.in | |
parent | 0df3ca8f9bbb624b219ecdb25d3fe8aa4a51d953 (diff) | |
download | glib-fa2bced1f30f93443ef43ce8b5b1e437cd07168c.tar.gz |
Enable threads in g_type_init()
This means threads will be supported for all gobject libraries/applications
and initialized early enough to not cause any problems.
This solves the problem of libraries needing threadsafety. Previosly
they just called g_threads_init() anyway, which often works but sometimes
breaks in unexpected ways.
See this thread for more details:
http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg00208.html
https://bugzilla.gnome.org/show_bug.cgi?id=606775
Diffstat (limited to 'gobject-2.0.pc.in')
-rw-r--r-- | gobject-2.0.pc.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject-2.0.pc.in b/gobject-2.0.pc.in index 31fe34d45..41505a9b4 100644 --- a/gobject-2.0.pc.in +++ b/gobject-2.0.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: GObject Description: GLib Type, Object, Parameter and Signal Library -Requires: glib-2.0 +Requires: glib-2.0,gthread-2.0 Version: @VERSION@ Libs: -L${libdir} -lgobject-2.0 Cflags: |