From 59796b5cbc66f41f0904e7df020502ade245324e Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 6 Apr 2006 09:12:52 +0000 Subject: Fixes #162005 svn path=/trunk/; revision=31776 --- calendar/gui/comp-util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'calendar/gui/comp-util.c') diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c index fad01446da..32257b6be9 100644 --- a/calendar/gui/comp-util.c +++ b/calendar/gui/comp-util.c @@ -205,7 +205,7 @@ cal_comp_util_compare_event_timezones (ECalComponent *comp, gboolean cal_comp_is_on_server (ECalComponent *comp, ECal *client) { - const char *uid; + const char *uid, *rid; icalcomponent *icalcomp; GError *error = NULL; @@ -221,8 +221,9 @@ cal_comp_is_on_server (ECalComponent *comp, ECal *client) * the user. */ e_cal_component_get_uid (comp, &uid); + rid = e_cal_component_get_recurid_as_string (comp); - if (e_cal_get_object (client, uid, NULL, &icalcomp, &error)) { + if (e_cal_get_object (client, uid, rid, &icalcomp, &error)) { icalcomponent_free (icalcomp); return TRUE; -- cgit v1.2.3