diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-05 18:06:29 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:20:44 +0800 |
commit | 06c242f4125d7a48667b069ac53902894cbcdf10 (patch) | |
tree | 0219bd9158d969366a0415f14b15b9976c5b3dc3 /src/empathy-account-assistant.c | |
parent | 3962f6f8d1680b6a304577dbc1ed366c33f6b206 (diff) | |
download | gsoc2013-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
Diffstat (limited to 'src/empathy-account-assistant.c')
-rw-r--r-- | src/empathy-account-assistant.c | 4 |
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", |