diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 14:08:37 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-26 14:08:37 -0400 |
commit | 76936193d59baf3b744061ef5219c7500e44abaf (patch) | |
tree | 2efaabad3c74f0bc127aed7e7b371318f9f795ed /gtk/gtkmenubar.c | |
parent | e7b5be93b175da4e5b9eceab15d8cd1347775f88 (diff) | |
download | gtk+-76936193d59baf3b744061ef5219c7500e44abaf.tar.gz |
Deprecate and ignore gtk-menu popup and popdown delay settings
Just pick good defaults. The a11y team confirmed that they don't
rely on them.
Diffstat (limited to 'gtk/gtkmenubar.c')
-rw-r--r-- | gtk/gtkmenubar.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gtk/gtkmenubar.c b/gtk/gtkmenubar.c index ec67a11f99..0a49fed87d 100644 --- a/gtk/gtkmenubar.c +++ b/gtk/gtkmenubar.c @@ -52,6 +52,8 @@ #include "gtktypebuiltins.h" #include "gtkwidgetprivate.h" +#define MENU_BAR_POPUP_DELAY 0 + /* Properties */ enum { PROP_0, @@ -862,13 +864,7 @@ get_shadow_type (GtkMenuBar *menubar) static gint gtk_menu_bar_get_popup_delay (GtkMenuShell *menu_shell) { - gint popup_delay; - - g_object_get (gtk_widget_get_settings (GTK_WIDGET (menu_shell)), - "gtk-menu-bar-popup-delay", &popup_delay, - NULL); - - return popup_delay; + return MENU_BAR_POPUP_DELAY; } static void |