diff options
author | Benjamin Otte <otte@gnome.org> | 2011-07-18 18:11:10 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2011-07-18 18:30:50 +0200 |
commit | 96245d4efb7c0b1dfbd9e7673fe4f4c4b6efb2e6 (patch) | |
tree | 2ef4315c857831316f94efc817e4e5cfd7fa7f40 /gtk/gtkviewport.c | |
parent | d9bfa563d0c38101adc05c453b2663b7ed453ec7 (diff) | |
download | gtk+-96245d4efb7c0b1dfbd9e7673fe4f4c4b6efb2e6.tar.gz |
viewport: Use gtk_widget_class_set_accessible_role()
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r-- | gtk/gtkviewport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c index 6d313d95cb..7319841030 100644 --- a/gtk/gtkviewport.c +++ b/gtk/gtkviewport.c @@ -139,6 +139,8 @@ gtk_viewport_class_init (GtkViewportClass *class) widget_class->get_preferred_width = gtk_viewport_get_preferred_width; widget_class->get_preferred_height = gtk_viewport_get_preferred_height; + gtk_widget_class_set_accessible_role (widget_class, ATK_ROLE_VIEWPORT); + container_class->add = gtk_viewport_add; /* GtkScrollable implementation */ |