From 13429d5ff13d94a68148a7f16bf954c8939f3f19 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 24 Jan 2000 08:40:57 +0000 Subject: New function to remove a calendar client interface object from a backend. 2000-01-24 Federico Mena Quintero * cal-backend.c (cal_backend_remove_cal): New function to remove a calendar client interface object from a backend. (cal_backend_load): Convert the URI to string and use Parse_MIME_FromFileName(). The conversion is not very smart, though. * cal-factory.c (load_backend): Moved most of the error handling upstream to load_fn(). (load_fn): Handle failure in case the backend could not be loaded. (cal_factory_destroy): Free the backends and the backend hash table. (add_calendar_client): Implemented. We create a Cal client interface object and attach it to the backend, and we notify the listener. svn path=/trunk/; revision=1618 --- calendar/cal-backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'calendar/cal-backend.h') diff --git a/calendar/cal-backend.h b/calendar/cal-backend.h index cffc3c5cc3..3c60b6961c 100644 --- a/calendar/cal-backend.h +++ b/calendar/cal-backend.h @@ -61,6 +61,7 @@ CalBackend *cal_backend_new (void); GnomeVFSURI *cal_backend_get_uri (CalBackend *backend); void cal_backend_add_cal (CalBackend *backend, Cal *cal); +void cal_backend_remove_cal (CalBackend *backend, Cal *cal); CalBackendLoadStatus cal_backend_load (CalBackend *backend, GnomeVFSURI *uri); -- cgit v1.2.3