Commit 06c242f4 authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Sjoerd Simons

Unref settings when changing the protocol

parent 3962f6f8
......@@ -141,6 +141,10 @@ account_assistant_protocol_changed_cb (GtkComboBox *chooser,
priv->current_account_widget = account_widget;
priv->current_widget_object = widget_object;
if (priv->settings != NULL)
g_object_unref (priv->settings);
priv->settings = settings;
g_signal_connect (priv->current_widget_object, "handle-apply",
......
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