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




commit 8e886a828d9a31cfc2002eac66f8d0918c9abbbd
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]