aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo/todo-conduit.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-10-27 02:15:27 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-10-27 02:15:27 +0800
commit86a201c22b648be7ce815f64e2cd80b54c6edc8a (patch)
treed1c8457e480c2dd0d85eaabf12eb7cd027510400 /calendar/conduits/todo/todo-conduit.c
parentb4fe4629868cbefe99efee2ada586ebe0fd7b1ec (diff)
downloadgsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.gz
gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.tar.zst
gsoc2013-evolution-86a201c22b648be7ce815f64e2cd80b54c6edc8a.zip
remove the uid from the map if was archived and is now deleted
001-10-26 JP Rosevear <jpr@ximian.com> * conduits/todo/todo-conduit.c (pre_sync): remove the uid from the map if was archived and is now deleted * conduits/calendar/calendar-conduit.c: ditto svn path=/trunk/; revision=14151
Diffstat (limited to 'calendar/conduits/todo/todo-conduit.c')
-rw-r--r--calendar/conduits/todo/todo-conduit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 4c0b3b92da..4c6289702c 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -734,6 +734,8 @@ pre_sync (GnomePilotConduit *conduit,
del_records++;
break;
}
+ } else if (ccc->type == CAL_CLIENT_CHANGE_DELETED) {
+ e_pilot_map_remove_by_uid (ctxt->map, uid);
}
}
@@ -882,7 +884,7 @@ for_each_modified (GnomePilotConduitSyncAbs *conduit,
g_return_val_if_fail (local != NULL, 0);
if (*local == NULL) {
- LOG ("beginning for_each_modified: beginning\n");
+ LOG ("for_each_modified beginning\n");
iterator = ctxt->changed;