forked from AuroraMiddleware/gtk
modelbutton: set_relative_to(NULL) the popover in dispose
We do set_relative_to(menu_button) when creating it so we should do this here (or nothing).
This commit is contained in:
parent
2c28c627c1
commit
d832e5b2dd
@ -1038,7 +1038,7 @@ gtk_menu_button_dispose (GObject *object)
|
|||||||
|
|
||||||
if (priv->popover)
|
if (priv->popover)
|
||||||
{
|
{
|
||||||
gtk_widget_destroy (priv->popover);
|
gtk_popover_set_relative_to (GTK_POPOVER (priv->popover), NULL);
|
||||||
priv->popover = NULL;
|
priv->popover = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user