forked from AuroraMiddleware/gtk
gtkmenubutton: set menu to NULL in dispose.
Prevent menu to be detached multiple times.
This commit is contained in:
parent
7f870abf17
commit
5830363787
@ -911,6 +911,7 @@ gtk_menu_button_dispose (GObject *object)
|
||||
menu_deactivate_cb,
|
||||
object);
|
||||
gtk_menu_detach (GTK_MENU (priv->popup));
|
||||
priv->popup = NULL;
|
||||
}
|
||||
|
||||
g_clear_object (&priv->model);
|
||||
|
Loading…
Reference in New Issue
Block a user