aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2009-08-05 18:06:29 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-22 21:20:44 +0800
commit06c242f4125d7a48667b069ac53902894cbcdf10 (patch)
tree0219bd9158d969366a0415f14b15b9976c5b3dc3
parent3962f6f8d1680b6a304577dbc1ed366c33f6b206 (diff)
downloadgsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.tar
gsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.tar.gz
gsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.tar.bz2
gsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.tar.lz
gsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.tar.xz
gsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.tar.zst
gsoc2013-empathy-06c242f4125d7a48667b069ac53902894cbcdf10.zip
Unref settings when changing the protocol
-rw-r--r--src/empathy-account-assistant.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-account-assistant.c b/src/empathy-account-assistant.c
index 91ba26b68..852ea4534 100644
--- a/src/empathy-account-assistant.c
+++ b/src/empathy-account-assistant.c
@@ -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",