[gnome-taquin/arnaudb/wip/gtk4: 9/56] No need anymore to set events.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-taquin/arnaudb/wip/gtk4: 9/56] No need anymore to set events.
- Date: Wed, 30 Sep 2020 13:55:32 +0000 (UTC)
commit e799ecea67ab3a2ae18ac75243ce4e1f8b568119
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Wed Feb 19 20:59:43 2020 +0100
No need anymore to set events.
src/taquin-view.vala | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
---
diff --git a/src/taquin-view.vala b/src/taquin-view.vala
index 27259b4..4b565a9 100644
--- a/src/taquin-view.vala
+++ b/src/taquin-view.vala
@@ -65,17 +65,12 @@ private class TaquinView : Gtk.DrawingArea
construct
{
+ can_focus = true;
init_mouse ();
init_keyboard ();
size_allocate.connect (on_size_allocate);
}
- internal TaquinView ()
- {
- can_focus = true;
- set_events (EventMask.EXPOSURE_MASK | EventMask.BUTTON_PRESS_MASK | EventMask.BUTTON_RELEASE_MASK |
EventMask.KEY_PRESS_MASK);
- }
-
private Game? _game = null;
[CCode (notify = false)] internal Game game
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]