[gnome-klotski/arnaudb/wip/gtk4: 45/62] No need to set events.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-klotski/arnaudb/wip/gtk4: 45/62] No need to set events.
- Date: Fri, 25 Sep 2020 16:27:13 +0000 (UTC)
commit c458198909e952a27a39a288fc29241840d71632
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 f9284e3..a0d075e 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]