Commit 3a3136dc authored by Christian Hergert's avatar Christian Hergert

completion: use gtk_window_set_hide_on_close()

Use GtkWindow:hide-on-close instead of ::delete-event.
parent 470d1683
......@@ -2178,10 +2178,8 @@ init_main_window (GtkSourceCompletion *completion,
G_CALLBACK (update_window_position),
completion);
g_signal_connect (completion->main_window,
"delete-event",
G_CALLBACK (gtk_widget_hide_on_delete),
NULL);
gtk_window_set_hide_on_close (GTK_WINDOW (completion->main_window),
TRUE);
g_signal_connect (completion->main_window,
"notify::transient-for",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment