Commit f119c834 authored by Matthias Clasen's avatar Matthias Clasen Committed by Allison Karlitskaya

Make accelmap initialization more forgiving

parent 7ef340fb
......@@ -179,9 +179,8 @@ accel_path_lookup (const gchar *accel_path)
void
_gtk_accel_map_init (void)
{
g_assert (accel_entry_ht == NULL);
accel_entry_ht = g_hash_table_new (accel_entry_hash, accel_entry_equal);
if (accel_entry_ht == NULL)
accel_entry_ht = g_hash_table_new (accel_entry_hash, accel_entry_equal);
}
gboolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment