forked from AuroraMiddleware/gtk
GtkWindow: Check for popover realized-ness before unrealizing
https://bugzilla.gnome.org/show_bug.cgi?id=755473
This commit is contained in:
parent
5167f525a3
commit
02306867c3
@ -11886,7 +11886,7 @@ _gtk_window_remove_popover (GtkWindow *window,
|
||||
|
||||
popover_unmap (popover, data);
|
||||
|
||||
if (_gtk_widget_get_realized (GTK_WIDGET (window)))
|
||||
if (_gtk_widget_get_realized (GTK_WIDGET (popover)))
|
||||
popover_unrealize (popover, data, window);
|
||||
|
||||
priv->popovers = g_list_remove (priv->popovers, data);
|
||||
|
Loading…
Reference in New Issue
Block a user