diff options
author | Rodrigo Moya <rodrigo@ximian.com> | 2004-05-11 22:29:34 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@src.gnome.org> | 2004-05-11 22:29:34 +0800 |
commit | 4a06c4e5e314629911a99e875194d1e72ff74bc5 (patch) | |
tree | 79ae2ebbd50d8d1f3982922dd1acca998afaa23b /calendar/gui/e-cal-model-tasks.c | |
parent | 74871f568f472c6bbd090eebced3293e371ee19a (diff) | |
download | gsoc2013-evolution-4a06c4e5e314629911a99e875194d1e72ff74bc5.tar.gz gsoc2013-evolution-4a06c4e5e314629911a99e875194d1e72ff74bc5.tar.zst gsoc2013-evolution-4a06c4e5e314629911a99e875194d1e72ff74bc5.zip |
use/set the DUE date, not the DTEND date.
2004-05-11 Rodrigo Moya <rodrigo@ximian.com>
* gui/e-cal-model-tasks.c (set_due): use/set the DUE date, not
the DTEND date.
svn path=/trunk/; revision=25854
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index fb958cbe89..7c0fb08638 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -545,7 +545,7 @@ set_due (ECalModelComponent *comp_data, const void *value) icalparameter *param; const char *tzid; - prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_DTEND_PROPERTY); + prop = icalcomponent_get_first_property (comp_data->icalcomp, ICAL_DUE_PROPERTY); if (prop) param = icalproperty_get_first_parameter (prop, ICAL_TZID_PARAMETER); else @@ -570,9 +570,9 @@ set_due (ECalModelComponent *comp_data, const void *value) dv->tt.is_utc = 0; if (prop) { - icalproperty_set_dtend (prop, dv->tt); + icalproperty_set_due (prop, dv->tt); } else { - prop = icalproperty_new_dtend (dv->tt); + prop = icalproperty_new_due (dv->tt); icalcomponent_add_property (comp_data->icalcomp, prop); } |