[gnome-sudoku/arnaudb/wip/gtk4: 24/47] No need to set events.




commit a7ed44943d84936817c3fc621b2a64746d3f0fc5
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sun Apr 12 15:06:25 2020 +0200

    No need to set events.

 src/sudoku-view.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 12a3bbc..de1cc2f 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -110,7 +110,6 @@ private class SudokuCellView : DrawingArea
         // background_color is set in the SudokuView, as it manages the color of the cells
 
         can_focus = true;
-        events = EventMask.EXPOSURE_MASK | EventMask.BUTTON_PRESS_MASK | EventMask.BUTTON_RELEASE_MASK | 
EventMask.KEY_PRESS_MASK;
 
         if (is_fixed && game.mode == GameMode.PLAY)
             return;


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