projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2d6f90
)
a11y: Treat widget and window as abstract roles
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 16 Jun 2023 19:42:42 +0000
(15:42 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 19 Jun 2023 22:38:58 +0000
(18:38 -0400)
We no longer use these, so we can enforce
that they are abstract.
gtk/gtkaccessible.c
patch
|
blob
|
history
diff --git
a/gtk/gtkaccessible.c
b/gtk/gtkaccessible.c
index 2b3dcfe633c788732d6068984298f41167a2ca61..06bebd74c676bdaa2cf7b6f6f80ba8f536f6b5fa 100644
(file)
--- a/
gtk/gtkaccessible.c
+++ b/
gtk/gtkaccessible.c
@@
-905,13
+905,8
@@
gtk_accessible_role_is_abstract (GtkAccessibleRole role)
case GTK_ACCESSIBLE_ROLE_SECTION_HEAD:
case GTK_ACCESSIBLE_ROLE_SELECT:
case GTK_ACCESSIBLE_ROLE_STRUCTURE:
-#if 0
- /* FIXME: ARIA considers these abstract.
- * But we are using them for widgets
- */
case GTK_ACCESSIBLE_ROLE_WIDGET:
case GTK_ACCESSIBLE_ROLE_WINDOW:
-#endif
return TRUE;
default:
return FALSE;