summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-03-05 16:08:38 +0000
committerMatthias Clasen <mclasen@redhat.com>2023-03-05 16:08:38 +0000
commit248027a366cc92653d0757b8d9a00eb6f0e8e4ce (patch)
tree0bba5e9514bb3c2bf16473c2bdcaaedbc9691bce
parentc823432eefdd57fe3f85c04d2dc57223ead98cca (diff)
parent71dbb5090e55435e733fc03686a7582f2976fa3f (diff)
downloadgtk+-248027a366cc92653d0757b8d9a00eb6f0e8e4ce.tar.gz
Merge branch 'expose_error_message_relation' into 'main'
a11y: Expose GTK_ACCESSIBLE_RELATION_ERROR_MESSAGE to AtSPI2 See merge request GNOME/gtk!5588
-rw-r--r--gtk/a11y/gtkatspicontext.c1
-rw-r--r--gtk/a11y/gtkatspiprivate.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/gtk/a11y/gtkatspicontext.c b/gtk/a11y/gtkatspicontext.c
index d2c949daff..dca263902e 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;