aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2005-03-08 15:59:02 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-03-08 15:59:02 +0800
commitc406530d1249bcc4ecc03a775d24698f7683813f (patch)
tree7b784d2beb9b6cd7cf51234802e80485c2a325fe /calendar/gui/dialogs
parente2a45d8e0e1b2f644a5365e18dad0949e0bbc9a1 (diff)
downloadgsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar
gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar.gz
gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar.bz2
gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar.lz
gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar.xz
gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar.zst
gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.zip
Fixes #73141 Assign the updated client to priv->client and unref the old
2005-03-08 Chenthill Palanisamy <pchenthill@novell.com> Fixes #73141 * gui/dialogs/comp-editor.c: (comp_editor_notify_client_changed):Assign the updated client to priv->client and unref the old one. svn path=/trunk/; revision=28979
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r--calendar/gui/dialogs/comp-editor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 638a000f2a..8286b444e8 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -2004,6 +2004,9 @@ comp_editor_notify_client_changed (CompEditor *editor, ECal *client)
priv = editor->priv;
priv->changed = TRUE;
+
+ g_object_unref (priv->client);
+ priv->client = client;
comp_editor_set_e_cal (editor, client);
for (l = priv->pages; l != NULL; l = l->next)