aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/tasks-migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/tasks-migrate.c')
-rw-r--r--calendar/gui/tasks-migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/tasks-migrate.c b/calendar/gui/tasks-migrate.c
index 5c9a4fa7c5..c6c6309528 100644
--- a/calendar/gui/tasks-migrate.c
+++ b/calendar/gui/tasks-migrate.c
@@ -75,7 +75,7 @@ migrate (void)
switch (status) {
case CAL_CLIENT_GET_SUCCESS:
- if (cal_client_update_object (tasks_client, comp))
+ if (cal_client_update_object (tasks_client, comp) == CAL_CLIENT_RESULT_SUCCESS)
cal_client_remove_object (calendar_client, uid);
else
success = FALSE;