diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-02 04:32:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-05 02:18:34 +0800 |
commit | a2e309c2a1735bd68b315aa971388e20db3a8621 (patch) | |
tree | d9da4a5546d45406b693e2893363a911b7eddd4b /plugins/itip-formatter | |
parent | 6fdbedf62c34a78d403d0376a4403b2196da0385 (diff) | |
download | gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.tar gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.tar.gz gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.tar.bz2 gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.tar.lz gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.tar.xz gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.tar.zst gsoc2013-evolution-a2e309c2a1735bd68b315aa971388e20db3a8621.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/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 8 |
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: |