diff options
Diffstat (limited to 'pango/pango-threadsafe.h')
-rw-r--r-- | 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 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; } |