From 5f608a1d0748999d190986cad319965801c01af0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 31 Dec 2017 09:31:19 -0500 Subject: [PATCH] Revert "inspector: Stop using GtkWidget::event" This reverts commit 1268440c358add567c437693bf616634cf280235. Turns out we'll keep ::event, so this was misguided. --- gtk/inspector/inspect-button.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/inspector/inspect-button.c b/gtk/inspector/inspect-button.c index 792c023a3a..517e716c0f 100644 --- a/gtk/inspector/inspect-button.c +++ b/gtk/inspector/inspect-button.c @@ -281,9 +281,7 @@ gtk_inspector_on_inspect (GtkWidget *button, g_object_unref (cursor); iw->grabbed = status == GDK_GRAB_SUCCESS; - g_signal_connect (iw->invisible, "button-release-event", G_CALLBACK (property_query_event), iw); - g_signal_connect (iw->invisible, "motion-notify-event", G_CALLBACK (property_query_event), iw); - g_signal_connect (iw->invisible, "key-press-event", G_CALLBACK (property_query_event), iw); + g_signal_connect (iw->invisible, "event", G_CALLBACK (property_query_event), iw); gtk_grab_add (GTK_WIDGET (iw->invisible)); deemphasize_window (GTK_WIDGET (iw));