[swell-foop/arnaudb/wip/gtk4: 18/38] No need to set events anymore.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [swell-foop/arnaudb/wip/gtk4: 18/38] No need to set events anymore.
- Date: Mon, 14 Sep 2020 15:53:00 +0000 (UTC)
commit 696d7c941cddcb2fa9339dcc49c4a0b966a5323e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Tue May 12 21:31:49 2020 +0200
No need to set events anymore.
src/window.vala | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/src/window.vala b/src/window.vala
index c130ccf..dd4591d 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -97,8 +97,6 @@ private class SwellFoopWindow : ApplicationWindow
SimpleAction colors_action = (SimpleAction) lookup_action ("change-colors");
colors_action.set_state (new Variant.@string (colors.to_string ()));
- add_events (Gdk.EventMask.KEY_PRESS_MASK | Gdk.EventMask.KEY_RELEASE_MASK);
-
init_scores ();
/* show the current score */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]