summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoanmarie Diggs <jdiggs@igalia.com>2017-05-26 11:20:25 +0200
committerJoanmarie Diggs <jdiggs@igalia.com>2017-05-26 11:20:25 +0200
commit6b2651f29643da75df4d9ca069ace57b81a80ca1 (patch)
tree5181416309e46ddad66d08214e5f7360601d69ca
parent3a1b10455c7129d28aa853caca3aac48a29303f7 (diff)
downloadat-spi2-atk-6b2651f29643da75df4d9ca069ace57b81a80ca1.tar.gz
Add error-message, error-for, details, and details-for relation types
Map the new relation types from ATK to AT-SPI2. Also bump minimum version of at-spi2-core to 2.25.3. https://bugzilla.gnome.org/show_bug.cgi?id=783008
-rw-r--r--atk-adaptor/adaptors/accessible-adaptor.c4
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 1 deletions
diff --git a/atk-adaptor/adaptors/accessible-adaptor.c b/atk-adaptor/adaptors/accessible-adaptor.c
index 572e4f8..f9a84ee 100644
--- a/atk-adaptor/adaptors/accessible-adaptor.c
+++ b/atk-adaptor/adaptors/accessible-adaptor.c
@@ -265,6 +265,10 @@ spi_init_relation_type_table (AtspiRelationType * types)
types[ATK_RELATION_DESCRIPTION_FOR] =
ATSPI_RELATION_DESCRIPTION_FOR;
types[ATK_RELATION_DESCRIBED_BY] = ATSPI_RELATION_DESCRIBED_BY;
+ types[ATK_RELATION_DETAILS] = ATSPI_RELATION_DETAILS;
+ types[ATK_RELATION_DETAILS_FOR] = ATSPI_RELATION_DETAILS_FOR;
+ types[ATK_RELATION_ERROR_MESSAGE] = ATSPI_RELATION_ERROR_MESSAGE;
+ types[ATK_RELATION_ERROR_FOR] = ATSPI_RELATION_ERROR_FOR;
types[ATK_RELATION_NODE_PARENT_OF] = ATSPI_RELATION_NODE_PARENT_OF;
return TRUE;
diff --git a/configure.ac b/configure.ac
index 004d631..d36a469 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ PKG_CHECK_MODULES(ATK, [atk >= 2.25.2])
AC_SUBST(ATK_LIBS)
AC_SUBST(ATK_CFLAGS)
-PKG_CHECK_MODULES(ATSPI, [atspi-2 >= 2.25.2])
+PKG_CHECK_MODULES(ATSPI, [atspi-2 >= 2.25.3])
AC_SUBST(ATSPI_LIBS)
AC_SUBST(ATSPI_CFLAGS)