From 2f7d812ddc64ef56903eee5d6e417fd178345437 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Tue, 26 Aug 2003 12:05:53 +0000 Subject: use correct type for arguments to cal_client_get_object. 2003-08-26 Rodrigo Moya * e-summary-tasks.c: * e-summary-calendar.c (uids_to_array): use correct type for arguments to cal_client_get_object. svn path=/trunk/; revision=22363 --- my-evolution/e-summary-calendar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'my-evolution/e-summary-calendar.c') diff --git a/my-evolution/e-summary-calendar.c b/my-evolution/e-summary-calendar.c index 71a25e6f15..8e6b2f972e 100644 --- a/my-evolution/e-summary-calendar.c +++ b/my-evolution/e-summary-calendar.c @@ -267,16 +267,19 @@ uids_to_array (ESummary *summary, for (p = uids; p; p = p->next) { ESummaryCalEvent *event; CalClientGetStatus status; + icalcomponent *icalcomp; event = g_new (ESummaryCalEvent, 1); event->uid = g_strdup (p->data); - status = cal_client_get_object (client, p->data, &event->comp); + status = cal_client_get_object (client, p->data, &icalcomp); if (status != CAL_CLIENT_GET_SUCCESS) { g_free (event); continue; } + event->comp = cal_component_new (); + cal_component_set_icalcomponent (event->comp, icalcomp); if (cal_component_has_recurrences (event->comp) == TRUE) { struct _RecurData *recur; -- cgit v1.2.3