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



commit b36c0111d5bb5d4a2769eb16773f8d23b91eba10
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Sat Apr 25 11:18:55 2020 +0200

    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 4449685..234460c 100644
--- a/src/game-view.vala
+++ b/src/game-view.vala
@@ -99,7 +99,6 @@ public class GameView : Gtk.DrawingArea
     {
         can_focus = true;
         theme_timer_id = 0;
-        add_events (Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK);
         init_mouse ();
         size_allocate.connect(() => {
             /* Recalculate dimensions */


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