diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2005-03-08 15:59:02 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2005-03-08 15:59:02 +0800 |
commit | c406530d1249bcc4ecc03a775d24698f7683813f (patch) | |
tree | 7b784d2beb9b6cd7cf51234802e80485c2a325fe /calendar/gui | |
parent | e2a45d8e0e1b2f644a5365e18dad0949e0bbc9a1 (diff) | |
download | gsoc2013-evolution-c406530d1249bcc4ecc03a775d24698f7683813f.tar.gz 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')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 3 |
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) |