[glib] README: Add note about gobject->gthread situation



commit c3a1d832b8f783308f038bf2b821359c87fedcaf
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Oct 16 19:21:35 2011 -0400

    README: Add note about gobject->gthread situation

 README.in |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/README.in b/README.in
index fef70f4..8ae830b 100644
--- a/README.in
+++ b/README.in
@@ -50,6 +50,19 @@ Notes about GLib 2.32
 
 * The -uninstalled variants of the pkg-config files have been dropped.
 
+* For a long time, gobject-2.0.pc mistakenly declared a public
+  dependency on gthread-2.0.pc (when the dependency should have been
+  private).  This means that programs got away with calling
+  g_thread_init() without explicitly listing gthread-2.0.pc among their
+  dependencies.
+
+  gthread has now been removed as a gobject dependency, which will cause
+  such programs to break.
+
+  The fix for this problem is either to declare an explicit dependency
+  on gthread-2.0.pc (if you care about compatibility with older GLib
+  versions) or to stop calling g_thread_init().
+
 Notes about GLib 2.30
 =====================
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]