forked from AuroraMiddleware/gtk
inspector: Stop using ::delete-event signal
We can just use GtkWindow::hide-on-close instead.
This commit is contained in:
parent
ff8ba1149d
commit
75271c44c2
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user