[gnome-robots/arnaudb/wip/gtk4: 13/32] 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: 13/32] No need to add events anymore.
- Date: Sat, 26 Sep 2020 10:06:14 +0000 (UTC)
commit 35b4b5992d07dc360b949a14ca51f2230a7f114c
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 e3c2489..b9a4ff4 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]