[gtk+/wip/matthiasc/kill-event-signals: 20/58] gtk-demo: Drop a use of ::event-after



commit 62e35493fffc1e44f3b7239d7eeebd71364e7a80
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]