aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@helixcode.com>2000-01-24 16:40:57 +0800
committerArturo Espinosa <unammx@src.gnome.org>2000-01-24 16:40:57 +0800
commit13429d5ff13d94a68148a7f16bf954c8939f3f19 (patch)
treeb65ba47768e17e0ee5b05a0a06a021eb894a301e /calendar/cal.c
parent6e707feec4b4e2c9d89fe1278819addc1b8428fe (diff)
downloadgsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.gz
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.tar.zst
gsoc2013-evolution-13429d5ff13d94a68148a7f16bf954c8939f3f19.zip
New function to remove a calendar client interface object from a backend.
2000-01-24 Federico Mena Quintero <federico@helixcode.com> * 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
Diffstat (limited to 'calendar/cal.c')
-rw-r--r--calendar/cal.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/calendar/cal.c b/calendar/cal.c
index 26c0581ff7..be7c8e74eb 100644
--- a/calendar/cal.c
+++ b/calendar/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) {