diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-04-15 10:40:31 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-04-15 10:40:31 -0500 |
commit | 61be4cf3e7aa796dd61ea8295ef6c6dbbe600a4a (patch) | |
tree | 28f431d370e9ff2484ec6cc37938ee065e98f2c5 /src/engine-eds.cpp | |
parent | 0a097229d2ae182f30f657738b41f6bddc6a2c8c (diff) | |
download | ayatana-indicator-datetime-61be4cf3e7aa796dd61ea8295ef6c6dbbe600a4a.tar.gz ayatana-indicator-datetime-61be4cf3e7aa796dd61ea8295ef6c6dbbe600a4a.tar.bz2 ayatana-indicator-datetime-61be4cf3e7aa796dd61ea8295ef6c6dbbe600a4a.zip |
remove unused field Appointment.is_daily
Diffstat (limited to 'src/engine-eds.cpp')
-rw-r--r-- | src/engine-eds.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/engine-eds.cpp b/src/engine-eds.cpp index 4b5a1b9..5b67001 100644 --- a/src/engine-eds.cpp +++ b/src/engine-eds.cpp @@ -432,20 +432,6 @@ private: { Appointment appointment; - /* Determine whether this is a recurring event. - NB: icalrecurrencetype supports complex recurrence patterns; - however, since design only allows daily recurrence, - that's all we support here. */ - GSList * recur_list; - e_cal_component_get_rrule_list(component, &recur_list); - for (auto l=recur_list; l!=nullptr; l=l->next) - { - const auto recur = static_cast<struct icalrecurrencetype*>(l->data); - appointment.is_daily |= ((recur->freq == ICAL_DAILY_RECURRENCE) - && (recur->interval == 1)); - } - e_cal_component_free_recur_list(recur_list); - ECalComponentText text; text.value = nullptr; e_cal_component_get_summary(component, &text); |