[gtk/matthiasc/a11y: 31/36] atspi utils: Fix an oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/a11y: 31/36] atspi utils: Fix an oversight
- Date: Sat, 10 Oct 2020 14:47:11 +0000 (UTC)
commit 2b183b672efe42e54a9311f217fa6a51770a2a97
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Oct 10 09:23:49 2020 -0400
atspi utils: Fix an oversight
gtk_accessible_role_to_atspi_role must always return
an atspi role. The fallback was returning an aria
role.
gtk/a11y/gtkatspiutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/a11y/gtkatspiutils.c b/gtk/a11y/gtkatspiutils.c
index 7a572ee41f..cea75297e5 100644
--- a/gtk/a11y/gtkatspiutils.c
+++ b/gtk/a11y/gtkatspiutils.c
@@ -273,7 +273,7 @@ gtk_accessible_role_to_atspi_role (GtkAccessibleRole role)
break;
}
- return GTK_ACCESSIBLE_ROLE_WIDGET;
+ return ATSPI_ROLE_FILLER;
}
GVariant *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]