diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-07-01 10:15:36 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-05 16:08:57 -0400 |
commit | 896769df691bcdf0b6a139a7bdce5056be6cba25 (patch) | |
tree | 77d1d39c03736585852c71c9f8bbea96a2485a48 /gtk/gtkexpander.c | |
parent | 6087131ab6c9bbe84bcfa32c6056fc7af01e5e60 (diff) | |
download | gtk+-896769df691bcdf0b6a139a7bdce5056be6cba25.tar.gz |
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.
Diffstat (limited to 'gtk/gtkexpander.c')
-rw-r--r-- | gtk/gtkexpander.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |