From 663bfd0e85852aee23726c1a590daf54779cd40f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= Date: Wed, 10 Aug 2011 19:19:33 +0200 Subject: [PATCH] a11y: Using proper way to register to window events --- tests/accessibility/cally-atkevents-example.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/accessibility/cally-atkevents-example.c b/tests/accessibility/cally-atkevents-example.c index fc23e6f2e..0fb3943a8 100644 --- a/tests/accessibility/cally-atkevents-example.c +++ b/tests/accessibility/cally-atkevents-example.c @@ -31,6 +31,7 @@ */ #include #include +#include #include "cally-examples-util.h" @@ -163,10 +164,10 @@ main (int argc, char *argv[]) atk_remove_key_event_listener (id_2); /* event listeners */ - atk_add_global_event_listener (window_event_listener, "window:create"); - atk_add_global_event_listener (window_event_listener, "window:destroy"); - atk_add_global_event_listener (window_event_listener, "window:activate"); - atk_add_global_event_listener (window_event_listener, "window:deactivate"); + atk_add_global_event_listener (window_event_listener, "Atk:AtkWindow:create"); + atk_add_global_event_listener (window_event_listener, "Atk:AtkWindow:destroy"); + atk_add_global_event_listener (window_event_listener, "Atk:AtkWindow:activate"); + atk_add_global_event_listener (window_event_listener, "Atk:AtkWindow:deactivate"); stage = clutter_stage_get_default (); make_ui (stage);