diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-02 04:32:21 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:22 +0800 |
commit | c1e412618a9b31b0810be13f9fb1fbac58f8e890 (patch) | |
tree | 39b6703d61d96d2a0c7c8b7f781bec4efdef676a /calendar/gui/comp-util.c | |
parent | 3833e452b9c67039e0a0b7fd83a2f269553f4ee3 (diff) | |
download | gsoc2013-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 'calendar/gui/comp-util.c')
-rw-r--r-- | calendar/gui/comp-util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/comp-util.c b/calendar/gui/comp-util.c index 2254d49cf6..d0182a0f8d 100644 --- a/calendar/gui/comp-util.c +++ b/calendar/gui/comp-util.c @@ -290,7 +290,7 @@ cal_comp_event_new_with_defaults (ECal *client, gboolean all_day) icalcomponent *icalcomp; ECalComponent *comp; gint interval; - CalUnits units; + EDurationType units; ECalComponentAlarm *alarm; icalproperty *icalprop; ECalComponentAlarmTrigger trigger; @@ -331,15 +331,15 @@ cal_comp_event_new_with_defaults (ECal *client, gboolean all_day) 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; |