[gnome-chess/mcatanzaro/gtk4] progress



commit a79172f4459f9de40b3c6031908246d205a10734
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Tue Dec 22 17:10:00 2020 -0600

    progress

 src/gnome-chess.vala | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index 7458b04..109a992 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -27,7 +27,7 @@ public class ChessApplication : Gtk.Application
     private int window_height;
 
     private GLib.Settings settings;
-    private ApplicationWindow window;
+    private unowned ApplicationWindow window;
     private Box main_box;
     private InfoBar info_bar;
     private Label info_bar_label;
@@ -418,7 +418,6 @@ return null;
 
         autosave ();
         window.destroy ();
-        window = null;
     }
 
     private void autosave ()


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