diff options
author | Lukáš Tyrychtr <ltyrycht@redhat.com> | 2023-03-03 15:15:59 +0100 |
---|---|---|
committer | Lukáš Tyrychtr <ltyrycht@redhat.com> | 2023-03-03 15:15:59 +0100 |
commit | 71dbb5090e55435e733fc03686a7582f2976fa3f (patch) | |
tree | e4563d06ac2d81514acc7a3219d0ffa9c81721f1 /gtk/a11y | |
parent | 4b46097748caed8c34572ed5305cedb8a385e367 (diff) | |
download | gtk+-71dbb5090e55435e733fc03686a7582f2976fa3f.tar.gz |
a11y: Expose GTK_ACCESSIBLE_RELATION_ERROR_MESSAGE to AtSPI2
Also, update the AtSPI2 relations to match the 1.26 version of AtSPI2.
Diffstat (limited to 'gtk/a11y')
-rw-r--r-- | gtk/a11y/gtkatspicontext.c | 1 | ||||
-rw-r--r-- | gtk/a11y/gtkatspiprivate.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c index e32e00f71b..56ccf910dc 100644 --- a/gtk/a11y/gtkatspicontext.c +++ b/gtk/a11y/gtkatspicontext.c @@ -328,6 +328,7 @@ collect_relations (GtkAtSpiContext *self, { GTK_ACCESSIBLE_RELATION_CONTROLS, ATSPI_RELATION_CONTROLLER_FOR }, { GTK_ACCESSIBLE_RELATION_DESCRIBED_BY, ATSPI_RELATION_DESCRIBED_BY }, { GTK_ACCESSIBLE_RELATION_DETAILS, ATSPI_RELATION_DETAILS }, + { GTK_ACCESSIBLE_RELATION_ERROR_MESSAGE, ATSPI_RELATION_ERROR_MESSAGE}, { GTK_ACCESSIBLE_RELATION_FLOW_TO, ATSPI_RELATION_FLOWS_TO}, }; GtkAccessibleValue *value; diff --git a/gtk/a11y/gtkatspiprivate.h b/gtk/a11y/gtkatspiprivate.h index 926340bf20..cdde64dd83 100644 --- a/gtk/a11y/gtkatspiprivate.h +++ b/gtk/a11y/gtkatspiprivate.h @@ -226,6 +226,9 @@ typedef enum { ATSPI_RELATION_DESCRIPTION_FOR, ATSPI_RELATION_DESCRIBED_BY, ATSPI_RELATION_DETAILS, + ATSPI_RELATION_DETAILS_FOR, + ATSPI_RELATION_ERROR_MESSAGE, + ATSPI_RELATION_ERROR_FOR, ATSPI_RELATION_LAST_DEFINED, } AtspiRelationType; |