summaryrefslogtreecommitdiff
path: root/gtk/a11y
diff options
context:
space:
mode:
authorLukáš Tyrychtr <ltyrycht@redhat.com>2023-03-06 16:45:19 +0100
committerLukáš Tyrychtr <ltyrycht@redhat.com>2023-03-06 16:45:19 +0100
commit96e6332d2878b807838c20eba7dc2bf1d6a8f8cb (patch)
treea31a44e7c15faf7fe9be916b99bfb2035a2614a0 /gtk/a11y
parentcfc2de4e3d93ef2bcad1f567eef4b430c9244549 (diff)
downloadgtk+-96e6332d2878b807838c20eba7dc2bf1d6a8f8cb.tar.gz
a11y: Expose GTK_ACCESSIBLE_ROLE_LANDMARK to AtSPI2
Diffstat (limited to 'gtk/a11y')
-rw-r--r--gtk/a11y/gtkatspiutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/a11y/gtkatspiutils.c b/gtk/a11y/gtkatspiutils.c
index dad03e7a9f..957ca29743 100644
--- a/gtk/a11y/gtkatspiutils.c
+++ b/gtk/a11y/gtkatspiutils.c
@@ -109,7 +109,7 @@ gtk_accessible_role_to_atspi_role (GtkAccessibleRole role)
return ATSPI_ROLE_LABEL;
case GTK_ACCESSIBLE_ROLE_LANDMARK:
- break;
+ return ATSPI_ROLE_LANDMARK;
case GTK_ACCESSIBLE_ROLE_LEGEND:
return ATSPI_ROLE_LABEL;