[gnome-klotski/arnaudb/wip/gtk4: 6/13] No need to set events.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 6/13] No need to set events.
- Date: Tue, 17 Mar 2020 11:10:04 +0000 (UTC)
commit 4c5775e5a6f9e47c695e30d19cd9403a7589dd2e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Mar 5 18:57:00 2020 +0100
No need to set events.
src/puzzle-view.vala | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index c1fd4b0..516bf85 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -78,10 +78,6 @@ private class PuzzleView : Gtk.DrawingArea
style_context = get_style_context ();
set_size_request (250, 250); // probably too small, but window requests 600x400 anyway
- set_events (Gdk.EventMask.EXPOSURE_MASK |
- Gdk.EventMask.BUTTON_PRESS_MASK |
- Gdk.EventMask.POINTER_MOTION_MASK |
- Gdk.EventMask.BUTTON_RELEASE_MASK );
load_image ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]