[gtk+/wip/matthiasc/kill-event-signals: 60/126] gtk-demo: Drop a use of ::event-after
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/kill-event-signals: 60/126] gtk-demo: Drop a use of ::event-after
- Date: Mon, 15 Jan 2018 13:04:51 +0000 (UTC)
commit 2b9408feb39f01a88746522a3d4ba991ab2457f5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Dec 31 14:13:26 2017 -0500
gtk-demo: Drop a use of ::event-after
It works just fine with ::event as well.
demos/gtk-demo/hypertext.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/hypertext.c b/demos/gtk-demo/hypertext.c
index 804a161..0cbaf35 100644
--- a/demos/gtk-demo/hypertext.c
+++ b/demos/gtk-demo/hypertext.c
@@ -268,7 +268,7 @@ do_hypertext (GtkWidget *do_widget)
gtk_text_view_set_right_margin (GTK_TEXT_VIEW (view), 20);
g_signal_connect (view, "key-press-event",
G_CALLBACK (key_press_event), NULL);
- g_signal_connect (view, "event-after",
+ g_signal_connect (view, "event",
G_CALLBACK (event_after), NULL);
g_signal_connect (view, "motion-notify-event",
G_CALLBACK (motion_notify_event), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]