aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-05-15 02:47:29 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-05-15 02:47:29 +0800
commit94f84171da1005a087656500be0666ef7a398621 (patch)
treef25e2e78f22519c3fa38d2f54591804e88c31bdc /calendar/cal-util/cal-component.c
parent0f3c7879a1773d68415befef933c63eb9872079f (diff)
downloadgsoc2013-evolution-94f84171da1005a087656500be0666ef7a398621.tar.gz
gsoc2013-evolution-94f84171da1005a087656500be0666ef7a398621.tar.zst
gsoc2013-evolution-94f84171da1005a087656500be0666ef7a398621.zip
make the range datetime member a struct not a pointer
2002-05-14 JP Rosevear <jpr@ximian.com> * cal-util/cal-component.h: make the range datetime member a struct not a pointer * cal-util/cal-component.c (cal_component_get_recurid): take a pointer to a range (cal_component_set_recurid): ditto * gui/itip-utils.c (comp_minimal): get/set the recurrence id properly svn path=/trunk/; revision=16785
Diffstat (limited to 'calendar/cal-util/cal-component.c')
-rw-r--r--calendar/cal-util/cal-component.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c
index 513c98673e..a618e0ef4b 100644
--- a/calendar/cal-util/cal-component.c
+++ b/calendar/cal-util/cal-component.c
@@ -3179,7 +3179,7 @@ cal_component_set_priority (CalComponent *comp, int *priority)
* Queries the recurrence id property of a calendar component object
**/
void
-cal_component_get_recurid (CalComponent *comp, CalComponentRange **recur_id)
+cal_component_get_recurid (CalComponent *comp, CalComponentRange *recur_id)
{
CalComponentPrivate *priv;
@@ -3192,7 +3192,7 @@ cal_component_get_recurid (CalComponent *comp, CalComponentRange **recur_id)
get_datetime (&priv->recur_id.recur_time,
icalproperty_get_recurrenceid,
- (*recur_id)->datetime);
+ &recur_id->datetime);
}
/**
@@ -3216,7 +3216,7 @@ cal_component_set_recurid (CalComponent *comp, CalComponentRange *recur_id)
set_datetime (comp, &priv->recur_id.recur_time,
icalproperty_new_recurrenceid,
icalproperty_set_recurrenceid,
- recur_id->datetime);
+ &recur_id->datetime);
}
/**