From 16bd7925283cca6663866210d87f6d6edd6aec86 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Tue, 25 Apr 2000 20:04:57 +0000 Subject: don't save on destroy. * pcs/cal-backend.c (cal_backend_destroy): don't save on destroy. svn path=/trunk/; revision=2615 --- calendar/pcs/cal-backend.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'calendar/pcs') 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 */ -- cgit