diff options
author | JP Rosevear <jpr@ximian.com> | 2001-04-27 10:05:45 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-04-27 10:05:45 +0800 |
commit | 69223166c6c7f71c6355742334d47a0e2d0733e7 (patch) | |
tree | d729b398501567cfd6dc24d1ae2fd1dd6f222a34 | |
parent | 80906820dcc8594c472271fbccb91abf8f6b90f8 (diff) | |
download | gsoc2013-evolution-69223166c6c7f71c6355742334d47a0e2d0733e7.tar.gz gsoc2013-evolution-69223166c6c7f71c6355742334d47a0e2d0733e7.tar.zst gsoc2013-evolution-69223166c6c7f71c6355742334d47a0e2d0733e7.zip |
the value type should be inited with ICAL_VALUE_* rather than ICAL_*_VALUE
2001-04-26 JP Rosevear <jpr@ximian.com>
* cal-util/cal-component.c (cal_component_alarm_set_trigger): the
value type should be inited with ICAL_VALUE_* rather than
ICAL_*_VALUE because it is a param argument.
svn path=/trunk/; revision=9611
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/cal-util/cal-component.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 16343be8b2..bc0a8108cf 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2001-04-26 JP Rosevear <jpr@ximian.com> + + * cal-util/cal-component.c (cal_component_alarm_set_trigger): the + value type should be inited with ICAL_VALUE_* rather than + ICAL_*_VALUE because it is a param argument. + 2001-04-26 Federico Mena Quintero <federico@ximian.com> * gui/calendar-model.c (get_is_overdue): Replace "<" by "<=" in diff --git a/calendar/cal-util/cal-component.c b/calendar/cal-util/cal-component.c index ba0fc54731..b7aeef7a8c 100644 --- a/calendar/cal-util/cal-component.c +++ b/calendar/cal-util/cal-component.c @@ -3938,20 +3938,20 @@ cal_component_alarm_set_trigger (CalComponentAlarm *alarm, CalAlarmTrigger trigg case CAL_ALARM_TRIGGER_RELATIVE_START: t.duration = trigger.u.rel_duration; t.time.is_date = -1; - value_type = ICAL_DURATION_VALUE; + value_type = ICAL_VALUE_DURATION; related = ICAL_RELATED_START; break; case CAL_ALARM_TRIGGER_RELATIVE_END: t.duration = trigger.u.rel_duration; t.time.is_date = -1; - value_type = ICAL_DURATION_VALUE; + value_type = ICAL_VALUE_DURATION; related = ICAL_RELATED_END; break; case CAL_ALARM_TRIGGER_ABSOLUTE: t.time = trigger.u.abs_time; - value_type = ICAL_DATETIME_VALUE; + value_type = ICAL_VALUE_DATETIME; break; default: |