[gtk/matthiasc/for-master] window: Release application in destroy




commit 5cd2ee927ad8989115084a991a18e58af9501296
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Dec 22 20:34:13 2020 -0500

    window: Release application in destroy
    
    We used to do this; it was lost in some life-cycle
    reshuffling.

 gtk/gtkwindow.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 18177a204c..dbd73bedfb 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]