mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
a11y: Remove key event listener hash table if no longer required
https://bugzilla.gnome.org/show_bug.cgi?id=675183
This commit is contained in:
parent
cafcf14e0e
commit
0d4d467dd5
@ -261,6 +261,8 @@ cally_util_remove_key_event_listener (guint remove_listener)
|
||||
|
||||
if (g_hash_table_size (key_listener_list) == 0)
|
||||
{
|
||||
g_hash_table_destroy (key_listener_list);
|
||||
key_listener_list = NULL;
|
||||
cally_util_simulate_snooper_remove ();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user