From 61be4cf3e7aa796dd61ea8295ef6c6dbbe600a4a Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 15 Apr 2014 10:40:31 -0500 Subject: remove unused field Appointment.is_daily --- src/engine-eds.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') 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(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); -- cgit v1.2.3