projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580384e
)
colorchooser: Use a composite accessible
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 6 Feb 2020 05:16:18 +0000
(
00:16
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 6 Feb 2020 21:54:59 +0000
(16:54 -0500)
This makes the content show up in the a11y tree again.
gtk/gtkcolorchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcolorchooserwidget.c
b/gtk/gtkcolorchooserwidget.c
index a9c4f129620ea8c827c611cb359044698affa26e..85ec2ec817daf617426f29c94f7c58be3002c35c 100644
(file)
--- a/
gtk/gtkcolorchooserwidget.c
+++ b/
gtk/gtkcolorchooserwidget.c
@@
-31,6
+31,8
@@
#include "gtkstylecontext.h"
#include "gtkboxlayout.h"
+#include "a11y/gtkcompositeaccessible.h"
+
#include <math.h>
/**
@@
-745,6
+747,8
@@
gtk_color_chooser_widget_class_init (GtkColorChooserWidgetClass *class)
*/
gtk_widget_class_install_action (widget_class, "color.customize", "(dddd)",
gtk_color_chooser_widget_activate_color_customize);
+
+ gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_COMPOSITE_ACCESSIBLE);
}
/* GtkColorChooser implementation {{{1 */