aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/gncal-todo.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/gncal-todo.c')
-rw-r--r--calendar/gui/gncal-todo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/gncal-todo.c b/calendar/gui/gncal-todo.c
index fb662c4b3c..ad2c1f4068 100644
--- a/calendar/gui/gncal-todo.c
+++ b/calendar/gui/gncal-todo.c
@@ -869,7 +869,8 @@ gncal_todo_update (GncalTodo *todo, iCalObject *ico, int flags)
char *uid = l->data;
iCalObject *obj;
- status = cal_client_get_object (todo->calendar->client, uid, &ico);
+ status = cal_client_get_object (todo->calendar->client, uid,
+ &obj);
if (status == CAL_CLIENT_GET_SUCCESS) {
insert_in_clist (todo, obj);