[gtk/a11y/atspi] atspi utils: Fix an oversight
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/a11y/atspi] atspi utils: Fix an oversight
- Date: Mon, 12 Oct 2020 19:11:07 +0000 (UTC)
commit edfc55ae8901c6dd875a50cb674ec4ddd6bfda70
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]