diff options
author | JP Rosevear <jpr@ximian.com> | 2001-04-12 04:08:30 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2001-04-12 04:08:30 +0800 |
commit | 414da9ba352b822a7c8071a34b48939395bab632 (patch) | |
tree | 2eda1a2ed0c9ef1dbc94a766a50a9e492937e28b /calendar/pcs | |
parent | eb1494bd23b9f1922bdddb3bc20b766b517c03a5 (diff) | |
download | gsoc2013-evolution-414da9ba352b822a7c8071a34b48939395bab632.tar.gz gsoc2013-evolution-414da9ba352b822a7c8071a34b48939395bab632.tar.zst gsoc2013-evolution-414da9ba352b822a7c8071a34b48939395bab632.zip |
prepend to both changes and change_ids when different and mark as
2001-04-11 JP Rosevear <jpr@ximian.com>
* 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
Diffstat (limited to 'calendar/pcs')
-rw-r--r-- | calendar/pcs/cal-backend-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |