[gtk] popovermenu: Switch to main submenu before mapping
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] popovermenu: Switch to main submenu before mapping
- Date: Wed, 9 Oct 2019 15:02:13 +0000 (UTC)
commit 172f68e77dbccbf43f8a1a71899e4f4ad88cdf35
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]