[pango/threadsafe-failed-attempt: 4/11] Work around bug #686192



commit c409d3310abe4f0631850319b5f2f664af30ea7f
Author: Behdad Esfahbod <behdad behdad org>
Date:   Mon Oct 15 19:25:42 2012 -0500

    Work around bug #686192

 pango/pango-threadsafe.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pango/pango-threadsafe.h b/pango/pango-threadsafe.h
index c4abd68..bc18074 100644
--- a/pango/pango-threadsafe.h
+++ b/pango/pango-threadsafe.h
@@ -59,6 +59,10 @@ PHashTable* p_hash_table_new_full          (GHashFunc       hash_func,
 				 key_destroy_func,
 				 value_destroy_func);
 
+  /* Work around bug #686192 */
+  g_mutex_lock (&p->mx);
+  g_mutex_unlock (&p->mx);
+
   return p;
 }
 



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