From c406530d1249bcc4ecc03a775d24698f7683813f Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Tue, 8 Mar 2005 07:59:02 +0000 Subject: Fixes #73141 Assign the updated client to priv->client and unref the old 2005-03-08 Chenthill Palanisamy 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 --- calendar/gui/dialogs/comp-editor.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'calendar/gui') 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) -- cgit v1.2.3