diff options
author | JP Rosevear <jpr@ximian.com> | 2002-05-15 02:47:29 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2002-05-15 02:47:29 +0800 |
commit | 94f84171da1005a087656500be0666ef7a398621 (patch) | |
tree | f25e2e78f22519c3fa38d2f54591804e88c31bdc /calendar/gui/itip-utils.c | |
parent | 0f3c7879a1773d68415befef933c63eb9872079f (diff) | |
download | gsoc2013-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/gui/itip-utils.c')
-rw-r--r-- | calendar/gui/itip-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c index ee0d78b0b6..7e9efdbb57 100644 --- a/calendar/gui/itip-utils.c +++ b/calendar/gui/itip-utils.c @@ -601,7 +601,7 @@ comp_minimal (CalComponent *comp, gboolean attendee) const char *uid; GSList *comments; struct icaltimetype itt; - CalComponentRange *recur_id; + CalComponentRange recur_id; clone = cal_component_new (); cal_component_set_new_vtype (clone, cal_component_get_vtype (comp)); @@ -644,8 +644,8 @@ comp_minimal (CalComponent *comp, gboolean attendee) cal_component_free_text_list (comments); cal_component_get_recurid (comp, &recur_id); - if (recur_id->datetime->value != NULL) - cal_component_set_recurid (clone, recur_id); + if (recur_id.datetime.value != NULL) + cal_component_set_recurid (clone, &recur_id); icomp = cal_component_get_icalcomponent (comp); icomp_clone = cal_component_get_icalcomponent (clone); |