[gnome-chess/arnaudb/wip/gtk4: 40/54] No need to add events anymore.




commit c87b818e48140ea4fb1ef41cbb21fbd7bb75af42
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Apr 7 10:09:58 2020 +0200

    No need to add events anymore.

 src/chess-view.vala | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/chess-view.vala b/src/chess-view.vala
index a600b97..e846931 100644
--- a/src/chess-view.vala
+++ b/src/chess-view.vala
@@ -40,8 +40,6 @@ public class ChessView : Gtk.DrawingArea
 
     construct
     {
-        add_events (Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK);
-
         init_mouse ();
         set_draw_func (draw);
     }


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