mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Make accelmap initialization more forgiving
This commit is contained in:
parent
7ef340fb87
commit
f119c834c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user