diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c index c9d30fecf1..aa4bf7f567 100644 --- a/gtk/gtkstackswitcher.c +++ b/gtk/gtkstackswitcher.c @@ -33,6 +33,8 @@ #include "gtktypebuiltins.h" #include "gtkwidgetprivate.h" +#include "a11y/gtkcompositeaccessible.h" + /** * SECTION:gtkstackswitcher * @Short_description: A controller for GtkStack @@ -595,6 +597,7 @@ gtk_stack_switcher_class_init (GtkStackSwitcherClass *class) gtk_widget_class_set_layout_manager_type (widget_class, GTK_TYPE_BOX_LAYOUT); gtk_widget_class_set_css_name (widget_class, I_("stackswitcher")); + gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_COMPOSITE_ACCESSIBLE); } /**