summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS8
-rw-r--r--at-spi2-atk.doap3
-rw-r--r--atk-adaptor/event.c21
-rw-r--r--configure.ac2
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 @@
<name xml:lang="en">at-spi2-atk</name>
<shortdesc xml:lang="en">GTK+ module for bridging AT-SPI to ATK</shortdesc>
+ <description xml:lang="en">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.</description>
<homepage rdf:resource="http://www.linuxfoundation.org/en/Accessibility/ATK/AT-SPI/AT-SPI_on_D-Bus"/>
<mailing-list rdf:resource="https://lists.linux-foundation.org/mailman/listinfo/accessibility-atspi"/>
<category rdf:resource="http://api.gnome.org/doap-extensions#core" />
@@ -25,6 +26,4 @@
<gnome:userid>mgorse</gnome:userid>
</foaf:Person>
</maintainer>
- <maintainer>
- <foaf:Person>
</Project>
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