aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/pcs
diff options
context:
space:
mode:
authorSeth Alves <alves@src.gnome.org>2000-04-26 04:04:57 +0800
committerSeth Alves <alves@src.gnome.org>2000-04-26 04:04:57 +0800
commit16bd7925283cca6663866210d87f6d6edd6aec86 (patch)
treedad2a37bd4ac9d148e542e34eda521b903993198 /calendar/pcs
parentb3674f3251710338c488a29f1da6ea7e842c92a1 (diff)
downloadgsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar.gz
gsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar.zst
gsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.zip
don't save on destroy.
* pcs/cal-backend.c (cal_backend_destroy): don't save on destroy. svn path=/trunk/; revision=2615
Diffstat (limited to 'calendar/pcs')
-rw-r--r--calendar/pcs/cal-backend.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c
index 353abc9465..4d0e659037 100644
--- a/calendar/pcs/cal-backend.c
+++ b/calendar/pcs/cal-backend.c
@@ -265,8 +265,10 @@ cal_backend_destroy (GtkObject *object)
backend = CAL_BACKEND (object);
priv = backend->priv;
+ /*
if (priv->loaded)
save (backend);
+ */
destroy (backend);
@@ -372,8 +374,6 @@ add_object (CalBackend *backend, iCalObject *ico)
/* FIXME: gnomecal old code */
ico->last_mod = time (NULL);
#endif
-
- /*save (backend);*/
}
/* Removes an object from the backend's hash and lists. Does not perform
@@ -420,7 +420,6 @@ remove_object (CalBackend *backend, iCalObject *ico)
g_list_free_1 (l);
ical_object_destroy (ico);
- /*save (backend);*/
}
/* Load a calendar from a VObject */