aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs/cal-backend.c
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-18 01:26:20 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-18 01:26:20 +0800
commit8375e5da9dd919d44d6d2c5161207609f3473340 (patch)
treece4e65bfd18371ce5573ad3b454b91049312017e /calendar/pcs/cal-backend.c
parent7aa932f07e5b50cadb8173312119e3252f8c9366 (diff)
downloadgsoc2013-evolution-8375e5da9dd919d44d6d2c5161207609f3473340.tar.gz
gsoc2013-evolution-8375e5da9dd919d44d6d2c5161207609f3473340.tar.zst
gsoc2013-evolution-8375e5da9dd919d44d6d2c5161207609f3473340.zip
removed implicit save, since we don't want to save as we load from disk.
* pcs/cal-backend.c (add_object): removed implicit save, since we don't want to save as we load from disk. (cal_backend_update_object): added a call to save, since it isn't done by add_object now. svn path=/trunk/; revision=2471
Diffstat (limited to 'calendar/pcs/cal-backend.c')
-rw-r--r--calendar/pcs/cal-backend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index ddbf23c438..8c4d4d02be 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -371,7 +371,7 @@ add_object (CalBackend *backend, iCalObject *ico)
ico->last_mod = time (NULL);
#endif
- save (backend);
+ /*save (backend);*/
}
/* Removes an object from the backend's hash and lists. Does not perform
@@ -1074,6 +1074,7 @@ cal_backend_update_object (CalBackend *backend, const char *uid,
remove_object (backend, ico);
add_object (backend, new_ico);
+ save (backend);
/* FIXME: do the notification asynchronously */