diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-17 12:49:37 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-17 12:49:37 +0800 |
commit | 541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72 (patch) | |
tree | a1eee2c2ff904bb8244e2a3645ecd4027615fde8 /calendar/gncal-day-view.c | |
parent | fe09695939f1d4bcf08b297cf4ade552944514ab (diff) | |
download | gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.gz gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.bz2 gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.lz gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.xz gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.tar.zst gsoc2013-evolution-541c3a7a73e084b5ebd82aae7c3fc1f3ba4f0b72.zip |
New event generation api in place -miguel
svn path=/trunk/; revision=146
Diffstat (limited to 'calendar/gncal-day-view.c')
-rw-r--r-- | calendar/gncal-day-view.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/calendar/gncal-day-view.c b/calendar/gncal-day-view.c index d338802240..2172810c52 100644 --- a/calendar/gncal-day-view.c +++ b/calendar/gncal-day-view.c @@ -94,7 +94,7 @@ gncal_day_view_destroy (GtkObject *object) if (dview->day_str) g_free (dview->day_str); if (dview->events) - g_list_free (dview->events); + calendar_destroy_event_list (dview->events); if (GTK_OBJECT_CLASS (parent_class)->destroy) (* GTK_OBJECT_CLASS (parent_class)->destroy) (object); @@ -303,12 +303,11 @@ gncal_day_view_update (GncalDayView *dview, iCalObject *ico, int flags) dview->day_str = g_strdup (buf); if (dview->events) - g_list_free (dview->events); + calendar_destroy_event_list (dview->events); dview->events = calendar_get_events_in_range (dview->calendar->cal, dview->lower, - dview->upper, - calendar_compare_by_dtstart); + dview->upper); gtk_widget_draw (GTK_WIDGET (dview), NULL); } |