aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-11-02 04:32:21 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2010-11-10 06:33:22 +0800
commitc1e412618a9b31b0810be13f9fb1fbac58f8e890 (patch)
tree39b6703d61d96d2a0c7c8b7f781bec4efdef676a /plugins
parent3833e452b9c67039e0a0b7fd83a2f269553f4ee3 (diff)
downloadgsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.tar
gsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.tar.gz
gsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.tar.bz2
gsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.tar.lz
gsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.tar.xz
gsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.tar.zst
gsoc2013-evolution-c1e412618a9b31b0810be13f9fb1fbac58f8e890.zip
Rename CalUnits to EDurationType.
And move the definition to e-util-enums.h so we get a GType for it.
Diffstat (limited to 'plugins')
-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: