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:
Alejandro Piñeiro 2012-06-18 11:30:25 +02:00
parent cafcf14e0e
commit 0d4d467dd5

View File

@ -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 ();
}
}