[clutter: 3/4] a11y: Using proper way to register to window events



commit 663bfd0e85852aee23726c1a590daf54779cd40f
Author: Alejandro PiÃeiro <apinheiro igalia com>
Date:   Wed Aug 10 19:19:33 2011 +0200

    a11y: Using proper way to register to window events

 tests/accessibility/cally-atkevents-example.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/tests/accessibility/cally-atkevents-example.c b/tests/accessibility/cally-atkevents-example.c
index fc23e6f..0fb3943 100644
--- a/tests/accessibility/cally-atkevents-example.c
+++ b/tests/accessibility/cally-atkevents-example.c
@@ -31,6 +31,7 @@
  */
 #include <atk/atk.h>
 #include <clutter/clutter.h>
+#include <cally/cally.h>
 
 #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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]