aboutsummaryrefslogtreecommitdiffstats
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
parentb3674f3251710338c488a29f1da6ea7e842c92a1 (diff)
downloadgsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar
gsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar.gz
gsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar.bz2
gsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar.lz
gsoc2013-evolution-16bd7925283cca6663866210d87f6d6edd6aec86.tar.xz
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
-rw-r--r--calendar/ChangeLog4
-rw-r--r--calendar/pcs/cal-backend.c5
2 files changed, 6 insertions, 3 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index fa2c24dc3b..beb21064d6 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,7 @@
+2000-04-25 Seth Alves <alves@hungry.com>
+
+ * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy.
+
2000-04-25 Ettore Perazzoli <ettore@helixcode.com>
* cal-client/Makefile.am: Add `$(datadir)/idl'.
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 */