inspector: Stop using ::delete-event signal

We can just use GtkWindow::hide-on-close instead.
This commit is contained in:
Matthias Clasen 2017-12-31 13:03:31 -05:00
parent ff8ba1149d
commit 75271c44c2

View File

@ -11018,8 +11018,7 @@ gtk_window_set_debugging (gboolean enable,
{
gtk_inspector_init ();
inspector_window = gtk_inspector_window_new ();
g_signal_connect (inspector_window, "delete-event",
G_CALLBACK (gtk_widget_hide_on_delete), NULL);
gtk_window_set_hide_on_close (GTK_WINDOW (inspector_window), TRUE);
if (warn)
{