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/pcs/cal.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'calendar/pcs/cal.c') diff --git a/calendar/pcs/cal.c b/calendar/pcs/cal.c index 26c0581ff7..be7c8e74eb 100644 --- a/calendar/pcs/cal.c +++ b/calendar/pcs/cal.c @@ -128,9 +128,6 @@ cal_destroy (GtkObject *object) cal = CAL (object); priv = cal->priv; - if (priv->uri) - g_free (priv->uri); - CORBA_exception_init (&ev); for (l = priv->listeners; l; l = l->next) { -- cgit