diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-17 13:08:55 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-17 13:08:55 +0800 |
commit | ad0347d16bfd10f5f6b0783d7030cac420c4362a (patch) | |
tree | 4b0a09d1b133334ce8fee945e8442417ed1268b5 /calendar/calendar.c | |
parent | 541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72 (diff) | |
download | gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.gz gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.bz2 gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.lz gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.xz gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.tar.zst gsoc2013-evolution-ad0347d16bfd10f5f6b0783d7030cac420c4362a.zip |
Remove deadly excessive abuse of encapsulation -mig
svn path=/trunk/; revision=147
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r-- | calendar/calendar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c index 8ad0208ac5..7b5f50c46f 100644 --- a/calendar/calendar.c +++ b/calendar/calendar.c @@ -32,7 +32,6 @@ calendar_new (char *title) void calendar_add_object (Calendar *cal, iCalObject *obj) { - printf ("Adding object\n"); switch (obj->type){ case ICAL_EVENT: cal->events = g_list_prepend (cal->events, obj); @@ -117,8 +116,7 @@ calendar_iterate_on_objects (GList *objects, time_t start, time_t end, calendarf for (; objects; objects = objects->next){ iCalObject *object = objects->data; - if ((start <= object->dtstart) && (object->dtend <= end)) - (*cb)(object, object->dtstart, object->dtend, closure); + ical_object_generate_events (object, start, end, cb, closure); } } |