summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Piñeiro <apinheiro@igalia.com>2012-05-09 17:10:55 +0200
committerAlejandro Piñeiro <apinheiro@igalia.com>2012-06-18 12:44:55 +0200
commitcafcf14e0e199df65842359d95c6595de46ad32b (patch)
tree23340b11289255483f865e64f4af4ef58ff2e9b2
parenta88f73091b7606447418a63c62cb447f2ee63780 (diff)
downloadclutter-cafcf14e0e199df65842359d95c6595de46ad32b.tar.gz
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
-rw-r--r--clutter/cally/cally-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clutter/cally/cally-util.c b/clutter/cally/cally-util.c
index 27975554e..e4c90a7a4 100644
--- a/clutter/cally/cally-util.c
+++ b/clutter/cally/cally-util.c
@@ -233,7 +233,7 @@ static guint
cally_util_add_key_event_listener (AtkKeySnoopFunc listener,
gpointer data)
{
- static guint key=0;
+ static guint key = 1;
CallyKeyEventInfo *event_info = NULL;
if (!key_listener_list)