[gnome-robots/arnaudb/wip/gtk4: 18/36] No need to add events anymore.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/arnaudb/wip/gtk4: 18/36] No need to add events anymore.
- Date: Tue, 15 Sep 2020 14:29:39 +0000 (UTC)
commit 0ede846a1f7fd5eff2f0f5cee91b2507ebea85d4
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon May 25 18:34:33 2020 +0200
No need to add events anymore.
src/gnome-robots.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/src/gnome-robots.c b/src/gnome-robots.c
index 244968a..de1b876 100644
--- a/src/gnome-robots.c
+++ b/src/gnome-robots.c
@@ -379,7 +379,6 @@ activate (GtkApplication *app, gpointer user_data)
make_cursors ();
game_area = gtk_drawing_area_new ();
- gtk_widget_add_events (game_area, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK |
GDK_POINTER_MOTION_MASK);
g_signal_connect (G_OBJECT (game_area), "configure-event", G_CALLBACK (resize_cb), NULL);
g_signal_connect (G_OBJECT (game_area), "draw", G_CALLBACK (draw_cb), NULL);
g_signal_connect (G_OBJECT (game_area), "destroy", G_CALLBACK (gtk_widget_destroyed),
&game_area);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]