Merge branch 'matthiasc/for-master' into 'master'

window: Hide windows on destroy

See merge request GNOME/gtk!1881
This commit is contained in:
Matthias Clasen 2020-05-12 15:58:10 +00:00
commit fdc9bfa2e9

View File

@ -7498,6 +7498,7 @@ gtk_window_destroy (GtkWindow *window)
g_object_unref (item);
}
gtk_window_hide (GTK_WIDGET (window));
gtk_widget_unrealize (GTK_WIDGET (window));
g_object_unref (window);