From 896769df691bcdf0b6a139a7bdce5056be6cba25 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 1 Jul 2011 10:15:36 -0400 Subject: Convert GailExpander to GtkExpanderAccessible At the same time, drop the AtkText implementation. Also, reintroduce a GtkBoxAccessible, since the previous way of setting the role in get_accessible was affecting GtkBox subclasses negatively. Adjust expected test output to match. --- gtk/gtkexpander.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk/gtkexpander.c') diff --git a/gtk/gtkexpander.c b/gtk/gtkexpander.c index 2c33a1ac15..643edaef20 100644 --- a/gtk/gtkexpander.c +++ b/gtk/gtkexpander.c @@ -114,6 +114,7 @@ #include "gtkintl.h" #include "gtkprivate.h" #include "gtkdnd.h" +#include "a11y/gtkexpanderaccessible.h" #define DEFAULT_EXPANDER_SIZE 10 @@ -375,6 +376,8 @@ gtk_expander_class_init (GtkExpanderClass *klass) NULL, NULL, _gtk_marshal_VOID__VOID, G_TYPE_NONE, 0); + + gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_EXPANDER_ACCESSIBLE); } static void -- cgit v1.2.1