[at-spi2-atk] Add error-message, error-for, details, and details-for relation types



commit 6b2651f29643da75df4d9ca069ace57b81a80ca1
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri May 26 11:20:25 2017 +0200

    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

 atk-adaptor/adaptors/accessible-adaptor.c |    4 ++++
 configure.ac                              |    2 +-
 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)
 


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