[gnome-2048/arnaudb/wip/gtk4: 8/36] No need to set events.



commit 7f90f883735f68cc94efe438b9eb8599cd993211
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 28 07:32:33 2020 +0200

    No need to set events.

 src/game-window.vala | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/game-window.vala b/src/game-window.vala
index 53f1ccb..1b30233 100644
--- a/src/game-window.vala
+++ b/src/game-window.vala
@@ -136,8 +136,6 @@ private class GameWindow : ApplicationWindow
         _game.load_settings (ref _settings);
 
         _game.view = _board;
-
-        set_events (get_events () | Gdk.EventMask.STRUCTURE_MASK | Gdk.EventMask.KEY_PRESS_MASK | 
Gdk.EventMask.KEY_RELEASE_MASK);
     }
 
     /*\


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