aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.c
diff options
context:
space:
mode:
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 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: