inspector: Stop using GtkWidget::event

This signal is going away.
This commit is contained in:
Matthias Clasen 2017-12-30 22:13:45 -05:00
parent 7d659b21e6
commit 1268440c35

View File

@ -281,7 +281,9 @@ gtk_inspector_on_inspect (GtkWidget *button,
g_object_unref (cursor);
iw->grabbed = status == GDK_GRAB_SUCCESS;
g_signal_connect (iw->invisible, "event", G_CALLBACK (property_query_event), iw);
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);
gtk_grab_add (GTK_WIDGET (iw->invisible));
deemphasize_window (GTK_WIDGET (iw));