Revert "inspector: Stop using GtkWidget::event"

This reverts commit 1268440c35.

Turns out we'll keep ::event, so this was misguided.
This commit is contained in:
Matthias Clasen 2017-12-31 09:31:19 -05:00
parent 750341414d
commit 5f608a1d07

View File

@ -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));