forked from AuroraMiddleware/gtk
popovermenu: Switch back to "main" AFTER unmapping
Otherwise we might set things to child visible etc. while being unmapped, which is a violation of the widget invariants of these properties.
This commit is contained in:
parent
8928323c6b
commit
bd9687a4f2
@ -283,8 +283,8 @@ gtk_popover_menu_map (GtkWidget *widget)
|
||||
static void
|
||||
gtk_popover_menu_unmap (GtkWidget *widget)
|
||||
{
|
||||
gtk_popover_menu_open_submenu (GTK_POPOVER_MENU (widget), "main");
|
||||
GTK_WIDGET_CLASS (gtk_popover_menu_parent_class)->unmap (widget);
|
||||
gtk_popover_menu_open_submenu (GTK_POPOVER_MENU (widget), "main");
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user