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




commit d949e88d02759c6219d2a729aa159fd47276184b
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 801fb7f..57e8185 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]