[swell-foop/arnaudb/wip/gtk4: 9/30] 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: 9/30] No need to set events anymore.
- Date: Sat, 26 Sep 2020 10:19:31 +0000 (UTC)
commit cd34b0d52c903839826ed6eb1d654426333c7df4
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]