[empathy/mc5] Unref settings when changing the protocol
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] Unref settings when changing the protocol
- Date: Sat, 22 Aug 2009 18:52:13 +0000 (UTC)
commit 06c242f4125d7a48667b069ac53902894cbcdf10
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Aug 5 12:06:29 2009 +0200
Unref settings when changing the protocol
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 91ba26b..852ea45 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]