[at-spi2-atk] Remove some debugging code
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-atk] Remove some debugging code
- Date: Wed, 31 Aug 2016 20:24:31 +0000 (UTC)
commit d559d6882dc172628c16d5fd21f457a1695ac490
Author: Mike Gorse <mgorse suse com>
Date: Wed Aug 31 15:27:39 2016 -0500
Remove some debugging code
atk-adaptor/event.c | 19 -------------------
1 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/atk-adaptor/event.c b/atk-adaptor/event.c
index 4910f0f..3e1e80e 100644
--- a/atk-adaptor/event.c
+++ b/atk-adaptor/event.c
@@ -678,24 +678,6 @@ property_event_listener (GSignalInvocationHint * signal_hint,
#define STATE_CHANGED "state-changed"
-static void
-do_debug_thing (AtkObject *accessible)
-{
- AtkObject *parent;
- gint x, y, width, height;
-
- do
- {
- parent = atk_object_get_parent (accessible);
- if (!ATK_IS_COMPONENT (accessible))
- {
- return;
- }
- atk_component_get_extents (ATK_COMPONENT (accessible), &x, &y, &width, &height, ATK_XY_SCREEN);
- accessible = parent;
- } while (accessible);
-}
-
/*
* The state event listener handles 'Gtk:AtkObject:state-change' ATK signals
* and forwards them as object:state-changed:(param-name) AT-SPI events. Where
@@ -717,7 +699,6 @@ state_event_listener (GSignalInvocationHint * signal_hint,
emit_event (accessible, ITF_EVENT_OBJECT, STATE_CHANGED, pname, detail1, 0,
DBUS_TYPE_INT32_AS_STRING, 0, append_basic);
-if (!g_strcmp0 (pname, "focused") && detail1 && g_getenv("DODEBUG")) do_debug_thing(accessible);
if (!g_strcmp0 (pname, "defunct") && detail1)
spi_register_deregister_object (spi_global_register, G_OBJECT (accessible),
TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]