From 414da9ba352b822a7c8071a34b48939395bab632 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 11 Apr 2001 20:08:30 +0000 Subject: prepend to both changes and change_ids when different and mark as 2001-04-11 JP Rosevear * pcs/cal-backend-file.c (cal_backend_file_compute_changes): prepend to both changes and change_ids when different and mark as modified, not added svn path=/trunk/; revision=9246 --- calendar/pcs/cal-backend-file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/pcs') diff --git a/calendar/pcs/cal-backend-file.c b/calendar/pcs/cal-backend-file.c index a624db9f12..1267f44e3f 100644 --- a/calendar/pcs/cal-backend-file.c +++ b/calendar/pcs/cal-backend-file.c @@ -1049,8 +1049,8 @@ cal_backend_file_compute_changes (CalBackend *backend, CalObjType type, const ch case E_DBHASH_STATUS_DIFFERENT: coc = GNOME_Evolution_Calendar_CalObjChange__alloc (); coc->calobj = CORBA_string_dup (calobj); - coc->type = GNOME_Evolution_Calendar_ADDED; - changes = g_list_append (changes, coc); + coc->type = GNOME_Evolution_Calendar_MODIFIED; + changes = g_list_prepend (changes, coc); change_ids = g_list_prepend (change_ids, uid); break; } -- cgit v1.2.3