summaryrefslogtreecommitdiff
path: root/gtk/a11y/gtkcontaineraccessible.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2011-07-18 18:11:10 +0200
committerBenjamin Otte <otte@gnome.org>2011-07-18 18:30:50 +0200
commit96245d4efb7c0b1dfbd9e7673fe4f4c4b6efb2e6 (patch)
tree2ef4315c857831316f94efc817e4e5cfd7fa7f40 /gtk/a11y/gtkcontaineraccessible.c
parentd9bfa563d0c38101adc05c453b2663b7ed453ec7 (diff)
downloadgtk+-96245d4efb7c0b1dfbd9e7673fe4f4c4b6efb2e6.tar.gz
viewport: Use gtk_widget_class_set_accessible_role()
Diffstat (limited to 'gtk/a11y/gtkcontaineraccessible.c')
-rw-r--r--gtk/a11y/gtkcontaineraccessible.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/a11y/gtkcontaineraccessible.c b/gtk/a11y/gtkcontaineraccessible.c
index a8a1615d3c..ae01adc87a 100644
--- a/gtk/a11y/gtkcontaineraccessible.c
+++ b/gtk/a11y/gtkcontaineraccessible.c
@@ -166,8 +166,6 @@ gtk_container_accessible_real_initialize (AtkObject *obj,
if (GTK_IS_TOOLBAR (data))
obj->role = ATK_ROLE_TOOL_BAR;
- else if (GTK_IS_VIEWPORT (data))
- obj->role = ATK_ROLE_VIEWPORT;
else
obj->role = ATK_ROLE_PANEL;
}