summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-06-26 22:32:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-07-05 16:08:53 -0400
commit87195bc3cd6754314b9c40569e984716cfe17556 (patch)
tree193e8d7668baec704b05410d7c6b135739c57daa /gtk/gtkscrollbar.c
parenteebf34dd5f4b2962d77cfb2f6028a9f6b2957187 (diff)
downloadgtk+-87195bc3cd6754314b9c40569e984716cfe17556.tar.gz
Convert GailScrollbar to GtkScrollbarAccessible
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r--gtk/gtkscrollbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index fd79b99eb0..01825a98df 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -31,6 +31,8 @@
#include "gtkintl.h"
#include "gtkprivate.h"
+#include "a11y/gtkscrollbaraccessible.h"
+
/**
* SECTION:gtkscrollbar
@@ -108,6 +110,8 @@ gtk_scrollbar_class_init (GtkScrollbarClass *class)
P_("Display a second forward arrow button on the opposite end of the scrollbar"),
FALSE,
GTK_PARAM_READABLE));
+
+ gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_SCROLLBAR_ACCESSIBLE);
}
static void