summaryrefslogtreecommitdiff
path: root/gtk/gtkmenu.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-07-01 22:30:54 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-07-05 16:08:57 -0400
commit0e2f3271b918ffabddda2a6ae5fd8c1528ca8f8d (patch)
tree76ffe9c1b1717b86754840515f32123c7e67b178 /gtk/gtkmenu.c
parented08baccd9f14e5056dfbcfe648d0071c4c6a9d5 (diff)
downloadgtk+-0e2f3271b918ffabddda2a6ae5fd8c1528ca8f8d.tar.gz
Convert GailMenu to GtkMenuAccessible
Diffstat (limited to 'gtk/gtkmenu.c')
-rw-r--r--gtk/gtkmenu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 3dbbc049b5..c50abda9dd 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -113,6 +113,7 @@
#include "gtkwidgetprivate.h"
#include "gtkintl.h"
#include "gtktypebuiltins.h"
+#include "a11y/gtkmenuaccessible.h"
#define NAVIGATION_REGION_OVERSHOOT 50 /* How much the navigation region
* extends below the submenu
@@ -882,6 +883,8 @@ gtk_menu_class_init (GtkMenuClass *class)
GTK_SCROLL_PAGE_DOWN);
g_type_class_add_private (gobject_class, sizeof (GtkMenuPrivate));
+
+ gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_MENU_ACCESSIBLE);
}