Commit b130f600 authored by Gaël Bonithon's avatar Gaël Bonithon Committed by Romain Bouvier
Browse files

color-settings: Destroy dialog before releasing its GtkBuilder

This amends 4bc8ef84, where the dialog
destruction was improperly removed. Although this is of no consequence
in this case, since the dialog is identified with the main program, it
is the user's responsibility to destroy toplevel windows from a
GtkBuilder, according to the documentation and contrary to what was said
in that commit.

Related: !65
MR: !70
parent 4195cc72
Pipeline #15408 passed with stages
in 2 minutes and 53 seconds
......@@ -920,6 +920,7 @@ color_settings_profiles_list_box_row_activated_cb (GtkListBox *list_box,
static void
color_settings_dialog_destroy (ColorSettings *settings)
{
gtk_widget_destroy (GTK_WIDGET (settings->dialog_assign));
g_clear_object (&settings->cancellable);
g_clear_object (&settings->client);
g_clear_object (&settings->current_device);
......
Supports Markdown
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