diff options
author | JP Rosevear <jpr@ximian.com> | 2003-11-11 10:38:28 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-11-11 10:38:28 +0800 |
commit | 8e69b93f1596d3f4844c26cfd99767295db8be03 (patch) | |
tree | 36fad380c59ba0781896e2644de175625c069ce6 /calendar/gui/e-cal-model-tasks.c | |
parent | 1c69704f65a80a16c66dca079f264ad0bdb30068 (diff) | |
download | gsoc2013-evolution-8e69b93f1596d3f4844c26cfd99767295db8be03.tar.gz gsoc2013-evolution-8e69b93f1596d3f4844c26cfd99767295db8be03.tar.zst gsoc2013-evolution-8e69b93f1596d3f4844c26cfd99767295db8be03.zip |
return boolean not ECalStatus (update_objects): ditto (process_item_fn):
2003-11-10 JP Rosevear <jpr@ximian.com>
* importers/icalendar-importer.c (update_single_object): return
boolean not ECalStatus
(update_objects): ditto
(process_item_fn): handle above returns
svn path=/trunk/; revision=23280
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r-- | calendar/gui/e-cal-model-tasks.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c index c6da14c7d1..da59bd8d09 100644 --- a/calendar/gui/e-cal-model-tasks.c +++ b/calendar/gui/e-cal-model-tasks.c @@ -374,7 +374,6 @@ get_due_status (ECalModelTasks *model, ECalModelComponent *comp_data) return E_CAL_MODEL_TASKS_DUE_NEVER; else { struct icaltimetype now_tt, due_tt; - ECalGetStatus status; icaltimezone *zone; /* Second, is it already completed? */ @@ -397,10 +396,7 @@ get_due_status (ECalModelTasks *model, ECalModelComponent *comp_data) return E_CAL_MODEL_TASKS_DUE_FUTURE; } else { /* Get the current time in the same timezone as the DUE date.*/ - status = e_cal_get_timezone (comp_data->client, - icaltime_get_tzid (due_tt), - &zone, NULL); - if (status != E_CAL_GET_SUCCESS) + if (!e_cal_get_timezone (comp_data->client, icaltime_get_tzid (due_tt), &zone, NULL)) return E_CAL_MODEL_TASKS_DUE_FUTURE; now_tt = icaltime_current_time_with_zone (zone); |