aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index 641d6d765e..be45bb04bb 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -35,8 +35,6 @@ calendar_add_object (Calendar *cal, iCalObject *obj)
switch (obj->type){
case ICAL_EVENT:
cal->events = g_list_prepend (cal->events, obj);
- if (obj->recur)
- cal->recur = g_list_prepend (cal->recur, obj);
break;
case ICAL_TODO:
@@ -61,8 +59,6 @@ calendar_remove_object (Calendar *cal, iCalObject *obj)
switch (obj->type){
case ICAL_EVENT:
cal->events = g_list_remove (cal->events, obj);
- if (obj->recur)
- cal->recur = g_list_remove (cal->recur, obj);
break;
case ICAL_TODO: