aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution/e-summary-calendar.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2003-08-26 20:05:53 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2003-08-26 20:05:53 +0800
commit2f7d812ddc64ef56903eee5d6e417fd178345437 (patch)
tree16885ad29e61726bf00f23bbc8a613e9ad7877ef /my-evolution/e-summary-calendar.c
parent7947421861b484a523f29de10253e50c7375c86e (diff)
downloadgsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.tar
gsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.tar.gz
gsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.tar.bz2
gsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.tar.lz
gsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.tar.xz
gsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.tar.zst
gsoc2013-evolution-2f7d812ddc64ef56903eee5d6e417fd178345437.zip
use correct type for arguments to cal_client_get_object.
2003-08-26 Rodrigo Moya <rodrigo@ximian.com> * 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
Diffstat (limited to 'my-evolution/e-summary-calendar.c')
-rw-r--r--my-evolution/e-summary-calendar.c5
1 files changed, 4 insertions, 1 deletions
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;