diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-09-06 05:48:56 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-09-06 05:48:56 +0800 |
commit | 54a6d12d79b8d2e761866594e4f18dcd751125be (patch) | |
tree | fc92226d319816971c6f138ed2f4860e5c1d6bf3 /calendar/gui/e-day-view.c | |
parent | dc2a0341af6c842fb7ca675417bf721cd705239f (diff) | |
download | gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.tar gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.tar.gz gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.tar.bz2 gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.tar.lz gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.tar.xz gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.tar.zst gsoc2013-evolution-54a6d12d79b8d2e761866594e4f18dcd751125be.zip |
The exdate and rdate lists are a list of icaltimetypes, not
2000-09-05 JP Rosevear <jpr@helixcode.com>
* cal-util/cal-recur.c (generate_instances_for_year): The exdate
and rdate lists are a list of icaltimetypes, not
CalComponentPeriods
*gui/e-day-view.c (e_day_view_on_delete_occurrence): The exdate
list
is a list of icaltimetypes, not CalComponentDateTimes
svn path=/trunk/; revision=5211
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index af15a79798..1f3808d695 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -2626,7 +2626,7 @@ e_day_view_on_delete_occurrence (GtkWidget *widget, gpointer data) EDayView *day_view; EDayViewEvent *event; CalComponent *comp; - CalComponentDateTime *date; + struct icaltimetype *time; GSList *list; day_view = E_DAY_VIEW (data); @@ -2639,10 +2639,9 @@ e_day_view_on_delete_occurrence (GtkWidget *widget, gpointer data) when we get the "update_event" callback. */ comp = cal_component_clone (event->comp); cal_component_get_exdate_list (comp, &list); - date = g_new0 (CalComponentDateTime, 1); - date->value = g_new (struct icaltimetype, 1); - *date->value = icaltime_from_timet (event->start, TRUE, FALSE); - list = g_slist_append (list, date); + time = g_new0 (struct icaltimetype, 1); + *time = icaltime_from_timet (event->start, FALSE, FALSE); + list = g_slist_append (list, time); cal_component_set_exdate_list (comp, list); cal_component_free_exdate_list (list); |