aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/conduits/todo
diff options
context:
space:
mode:
authorJP Rosevear <jpr@helixcode.com>2000-11-11 00:35:22 +0800
committerJP Rosevear <jpr@src.gnome.org>2000-11-11 00:35:22 +0800
commita162472fd61b27675181cc74a7b695a5cfb0c089 (patch)
tree8a9a34efab084a0b094fd9d39bfdef8e795dbc3c /calendar/conduits/todo
parent54ebbd37f39e660a4af5e97c1f0d25b0777eb142 (diff)
downloadgsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.tar
gsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.tar.gz
gsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.tar.bz2
gsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.tar.lz
gsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.tar.xz
gsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.tar.zst
gsoc2013-evolution-a162472fd61b27675181cc74a7b695a5cfb0c089.zip
Inc the iterator before finding the next changed item.
2000-11-10 JP Rosevear <jpr@helixcode.com> * conduits/calendar/calendar-conduit.c (for_each_modified): Inc the iterator before finding the next changed item. * conduits/todo/todo-conduit.c (for_each_modified): ditto svn path=/trunk/; revision=6533
Diffstat (limited to 'calendar/conduits/todo')
-rw-r--r--calendar/conduits/todo/todo-conduit.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/conduits/todo/todo-conduit.c b/calendar/conduits/todo/todo-conduit.c
index 12b04ad78c..b41dead5cc 100644
--- a/calendar/conduits/todo/todo-conduit.c
+++ b/calendar/conduits/todo/todo-conduit.c
@@ -723,7 +723,8 @@ for_each_modified (GnomePilotConduitSyncAbs *conduit,
}
} else {
count++;
- if ((iterator = next_changed_item (ctxt, iterator))) {
+ iterator = g_list_next (iterator);
+ if (iterator && (iterator = next_changed_item (ctxt, iterator))) {
CalObjChange *coc = NULL;
coc = iterator->data;