diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/calendar.c | 11 | ||||
-rw-r--r-- | calendar/gui/calendar.c | 11 |
2 files changed, 2 insertions, 20 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c index 5bfb5ea21c..492ff24135 100644 --- a/calendar/calendar.c +++ b/calendar/calendar.c @@ -81,15 +81,6 @@ ical_object_try_alarms (iCalObject *obj) } void -calendar_add_alarms (Calendar *cal) -{ - GList *events = cal->events; - - for (; events; events=events->next) - ical_object_try_alarms (events->data); -} - -void calendar_add_object (Calendar *cal, iCalObject *obj) { obj->new = 0; @@ -245,7 +236,7 @@ calendar_compare_by_dtstart (gpointer a, gpointer b) void calendar_load_from_vobject (Calendar *cal, VObject *vcal) { - VObjectIterator i;; + VObjectIterator i; initPropIterator (&i, vcal); diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c index 5bfb5ea21c..492ff24135 100644 --- a/calendar/gui/calendar.c +++ b/calendar/gui/calendar.c @@ -81,15 +81,6 @@ ical_object_try_alarms (iCalObject *obj) } void -calendar_add_alarms (Calendar *cal) -{ - GList *events = cal->events; - - for (; events; events=events->next) - ical_object_try_alarms (events->data); -} - -void calendar_add_object (Calendar *cal, iCalObject *obj) { obj->new = 0; @@ -245,7 +236,7 @@ calendar_compare_by_dtstart (gpointer a, gpointer b) void calendar_load_from_vobject (Calendar *cal, VObject *vcal) { - VObjectIterator i;; + VObjectIterator i; initPropIterator (&i, vcal); |