[five-or-more/arnaudb/wip/gtk4: 61/80] No need to set events.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/wip/gtk4: 61/80] No need to set events.
- Date: Sun, 25 Oct 2020 18:51:47 +0000 (UTC)
commit abd69dee356b45298a9801e870f898298522bea4
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Mar 12 23:33:44 2020 +0100
No need to set events.
src/view.vala | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/view.vala b/src/view.vala
index f40af7d..9e9a0b8 100644
--- a/src/view.vala
+++ b/src/view.vala
@@ -107,8 +107,6 @@ private class View : DrawingArea
});
game.board.grid_changed.connect (queue_draw);
- add_events (Gdk.EventMask.BUTTON_PRESS_MASK | Gdk.EventMask.BUTTON_RELEASE_MASK);
- add_events (Gdk.EventMask.KEY_PRESS_MASK | Gdk.EventMask.KEY_RELEASE_MASK);
set_can_focus (true);
grab_focus ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]