summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2012-10-15 19:25:42 -0500
committerBehdad Esfahbod <behdad@behdad.org>2012-11-07 10:59:03 -0800
commitc409d3310abe4f0631850319b5f2f664af30ea7f (patch)
tree8a43d86343f240a9fe3a9c97370bae5ad3e7cf37
parent331f00d182dd6ef4e2c7cb633b5e443cad017007 (diff)
downloadpango-c409d3310abe4f0631850319b5f2f664af30ea7f.tar.gz
Work around bug #686192
-rw-r--r--pango/pango-threadsafe.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pango/pango-threadsafe.h b/pango/pango-threadsafe.h
index c4abd683..bc180746 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;
}