window: Release application in destroy

We used to do this; it was lost in some life-cycle
reshuffling.
This commit is contained in:
Matthias Clasen 2020-12-22 20:34:13 -05:00
parent e854b90293
commit 5cd2ee927a

View File

@ -6480,6 +6480,8 @@ gtk_window_destroy (GtkWindow *window)
g_list_store_remove (toplevel_list, i);
gtk_window_release_application (window);
gtk_widget_unrealize (GTK_WIDGET (window));
g_object_unref (window);