summaryrefslogtreecommitdiff
path: root/gtk/gtkpopovermenu.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-10-06 12:52:11 +0200
committerTimm Bäder <mail@baedert.org>2019-10-09 16:57:22 +0200
commit172f68e77dbccbf43f8a1a71899e4f4ad88cdf35 (patch)
tree95cea8d85aa79ed68075ba2f372a49813f9eadbf /gtk/gtkpopovermenu.c
parentfb1145d72d241c2054a8ff4664f1ceedc317dfc0 (diff)
downloadgtk+-172f68e77dbccbf43f8a1a71899e4f4ad88cdf35.tar.gz
popovermenu: Switch to main submenu before mapping
Diffstat (limited to 'gtk/gtkpopovermenu.c')
-rw-r--r--gtk/gtkpopovermenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpopovermenu.c b/gtk/gtkpopovermenu.c
index 5249941a78..7b9d1d8733 100644
--- a/gtk/gtkpopovermenu.c
+++ b/gtk/gtkpopovermenu.c
@@ -279,8 +279,8 @@ gtk_popover_menu_init (GtkPopoverMenu *popover)
static void
gtk_popover_menu_map (GtkWidget *widget)
{
- GTK_WIDGET_CLASS (gtk_popover_menu_parent_class)->map (widget);
gtk_popover_menu_open_submenu (GTK_POPOVER_MENU (widget), "main");
+ GTK_WIDGET_CLASS (gtk_popover_menu_parent_class)->map (widget);
}
static void