[four-in-a-row/arnaudb/wip/gtk4: 68/92] No need to set events.




commit 014fc4e504f3109b196274ef0e1f05a324ace2ce
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Apr 19 20:00:07 2020 +0200

    No need to set events.

 src/game-board-view.vala | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/game-board-view.vala b/src/game-board-view.vala
index 510f948..84fcf7a 100644
--- a/src/game-board-view.vala
+++ b/src/game-board-view.vala
@@ -39,9 +39,6 @@ private class GameBoardView : Gtk.DrawingArea
 
     construct
     {
-        events = Gdk.EventMask.EXPOSURE_MASK
-               | Gdk.EventMask.BUTTON_PRESS_MASK
-               | Gdk.EventMask.BUTTON_RELEASE_MASK;
         theme_manager.theme_changed.connect (refresh_pixmaps);
 
         init_mouse ();


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