[gtk/wip/baedert/for-master: 45/55] popovermenu: Switch to main submenu before mapping



commit defcf9bb0db1e25449b5d2a3aa9d3f1af0f25d79
Author: Timm Bäder <mail baedert org>
Date:   Sun Oct 6 12:52:11 2019 +0200

    popovermenu: Switch to main submenu before mapping

 gtk/gtkpopovermenu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]