From 68662a3bb1d2dc7bdf6e1cc61053ffe8459816de Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Mon, 20 Jul 2015 18:52:59 -0500 Subject: Release v2.17.1 --- NEWS | 8 ++++++++ at-spi2-atk.doap | 3 +-- atk-adaptor/event.c | 21 +++++++++++++++++++++ configure.ac | 2 +- 4 files changed, 31 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index d30499a..d5e0fcb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,11 @@ +What's new in at-spi2-atk 2.17.1: + +* Eliminate some console warnings due to NULL gobjects. + +* Tests: fix out-of-source and parallel build (bgo#751137). + +* Add some missing files to the distribution (bgo#751138). + What's new in at-spi2-atk 2.15.90: * Add roles for fractions, roots, subscripts, and superscripts. diff --git a/at-spi2-atk.doap b/at-spi2-atk.doap index 0008ea9..435b9cc 100644 --- a/at-spi2-atk.doap +++ b/at-spi2-atk.doap @@ -6,6 +6,7 @@ at-spi2-atk GTK+ module for bridging AT-SPI to ATK + at-spi2-atk is the library used to bridge ATK to AT-SPI, allowing applications exposing information via ATK to interface with clients that use AT-SPI. This module provides the necessary inter-process communication to allow accessibility-oriented software to operate. @@ -25,6 +26,4 @@ mgorse - - diff --git a/atk-adaptor/event.c b/atk-adaptor/event.c index d1652da..6e8c07a 100644 --- a/atk-adaptor/event.c +++ b/atk-adaptor/event.c @@ -678,6 +678,26 @@ 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)) + { + g_print ("%s isn't a component\n", g_type_name_from_instance(accessible)); + return; + } + atk_component_get_extents (ATK_COMPONENT (accessible), &x, &y, &width, &height, ATK_XY_SCREEN); + g_print ("extents for %s (%s): %d %d %d %d\n", atk_object_get_name(accessible), g_type_name_from_instance(accessible), x, y, width, height); + 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 @@ -699,6 +719,7 @@ 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); diff --git a/configure.ac b/configure.ac index d0c34a7..914ef58 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([at-spi2-atk], [2.16.0], [accessibility-atspi@lists.linux-foundation.org]) +AC_INIT([at-spi2-atk], [2.17.1], [accessibility-atspi@lists.linux-foundation.org]) AC_CONFIG_AUX_DIR(config) AT_SPI_ATK_MAJOR_VERSION=0 -- cgit v1.2.1