[gnome-2048/arnaudb/wip/gtk4: 41/57] Comment things.




commit ca6c4ece0f319147f91b175dbdec38568fd199e6
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Jul 13 17:06:45 2020 +0200

    Comment things.

 data/mainwindow.ui   |  2 +-
 src/game-window.vala | 14 +++++++-------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/data/mainwindow.ui b/data/mainwindow.ui
index 5dd601a..03562b5 100644
--- a/data/mainwindow.ui
+++ b/data/mainwindow.ui
@@ -23,7 +23,7 @@
     <property name="default-height">600</property>
     <property name="icon-name">org.gnome.TwentyFortyEight</property>
     <property name="show-menubar">False</property>
-    <signal name="destroy" handler="on_destroy"/>
+<!--    <signal name="destroy" handler="on_destroy"/>-->
     <child type="titlebar">
       <object class="GameHeaderBar" id="_header_bar"/>
     </child>
diff --git a/src/game-window.vala b/src/game-window.vala
index 06271f2..a5cd4ea 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -70,13 +70,13 @@ private class GameWindow : ApplicationWindow
         _init_gestures ();
     }
 
-    [GtkCallback]
-    private void on_destroy ()
-    {
-        _game.save_game ();
-        _save_window_state (this, ref _settings);
-        base.destroy ();
-    }
+//    [GtkCallback]
+//    private void on_destroy ()
+//    {
+//        _game.save_game ();
+//        _save_window_state (this, ref _settings);
+//        base.destroy ();
+//    }
 
     /*\
     * * init


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