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




commit 53b654741558ea8a55ca03a1124486d02ee3148d
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]