1
0
mirror of https://github.com/brl/mutter.git synced 2025-06-16 10:19:31 +00:00

a11y: atk_add_key_event_listener listener_id should not return 0 as a valid value

cally_util_add_key_event_listener first id returned was 0, but as
the documentation says, this is a reserved value for a wrong id

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675183
This commit is contained in:
Alejandro Piñeiro
2012-05-09 17:10:55 +02:00
parent a88f73091b
commit cafcf14e0e

@ -233,7 +233,7 @@ static guint
cally_util_add_key_event_listener (AtkKeySnoopFunc listener, cally_util_add_key_event_listener (AtkKeySnoopFunc listener,
gpointer data) gpointer data)
{ {
static guint key=0; static guint key = 1;
CallyKeyEventInfo *event_info = NULL; CallyKeyEventInfo *event_info = NULL;
if (!key_listener_list) if (!key_listener_list)