[gnome-mahjongg/arnaudb/wip/gtk4: 7/18] No need to add events.



commit eaf11bc34d6dc260e0121bc49470b28b92522e67
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Mar 27 18:55:41 2020 +0100

    No need to add events.

 src/game-view.vala | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/game-view.vala b/src/game-view.vala
index efca441..49fc4fe 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -48,7 +48,6 @@ public class GameView : Gtk.DrawingArea
     public GameView ()
     {
         can_focus = true;
-        add_events (Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK);
 
         init_mouse ();
     }


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