[balsa/gtk3] Build with glib < 2.32



commit 41dd010689764537f751f2fc7c03c93fec58f935
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Wed Jun 6 13:21:19 2012 -0400

    Build with glib < 2.32
    
    	* libbalsa/mime-stream-shared.c
    	(libbalsa_mime_stream_shared_lock): build with glib < 2.32.

 ChangeLog                     |    5 +++++
 libbalsa/mime-stream-shared.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 483e642..86d465a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-06  Peter Bloomfield
+
+	* libbalsa/mime-stream-shared.c
+	(libbalsa_mime_stream_shared_lock): build with glib < 2.32.
+
 2012-06-05  Peter Bloomfield
 
 	Make changes in previous commit conditional on glib version
diff --git a/libbalsa/mime-stream-shared.c b/libbalsa/mime-stream-shared.c
index f18564b..38d732a 100644
--- a/libbalsa/mime-stream-shared.c
+++ b/libbalsa/mime-stream-shared.c
@@ -299,7 +299,7 @@ libbalsa_mime_stream_shared_lock(GMimeStream * stream)
 #else                           /* GLIB_CHECK_VERSION(2, 32, 0) */
     g_mutex_lock(lbmss_mutex);
     while (lock->count > 0 && lock->thread != thread_self)
-        g_cond_wait(&lbmss_cond, lbmss_mutex);
+        g_cond_wait(lbmss_cond, lbmss_mutex);
     ++lock->count;
     lock->thread = thread_self;
     g_mutex_unlock(lbmss_mutex);



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