aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter/itip-formatter.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/itip-formatter/itip-formatter.c')
-rw-r--r--plugins/itip-formatter/itip-formatter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 79d0bd14b4..3630ec30d0 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -1889,7 +1889,7 @@ extract_itip_data (struct _itip_puri *pitip, GtkContainer *container, gboolean *
if (calendar_config_get_use_default_reminder ()) {
ECalComponentAlarm *acomp;
gint interval;
- CalUnits units;
+ EDurationType units;
ECalComponentAlarmTrigger trigger;
interval = calendar_config_get_default_reminder_interval ();
@@ -1905,13 +1905,13 @@ extract_itip_data (struct _itip_puri *pitip, GtkContainer *container, gboolean *
trigger.u.rel_duration.is_neg = TRUE;
switch (units) {
- case CAL_MINUTES:
+ case E_DURATION_MINUTES:
trigger.u.rel_duration.minutes = interval;
break;
- case CAL_HOURS:
+ case E_DURATION_HOURS:
trigger.u.rel_duration.hours = interval;
break;
- case CAL_DAYS:
+ case E_DURATION_DAYS:
trigger.u.rel_duration.days = interval;
break;
default: