From aef67f06125a23a6c17eeb29c994a94f6b6205a4 Mon Sep 17 00:00:00 2001 From: Rodrigo Moya Date: Mon, 1 Oct 2001 16:55:44 +0000 Subject: don't use gnome_vfs_uri_is_local on URIs created with 2001-10-01 Rodrigo Moya * gui/gnome-cal.c (gnome_calendar_open): don't use gnome_vfs_uri_is_local on URIs created with gnome_vfs_uri_new_private svn path=/trunk/; revision=13262 --- calendar/pcs/cal-factory.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'calendar/pcs') diff --git a/calendar/pcs/cal-factory.c b/calendar/pcs/cal-factory.c index e7a7316193..32786861bd 100644 --- a/calendar/pcs/cal-factory.c +++ b/calendar/pcs/cal-factory.c @@ -436,14 +436,12 @@ impl_CalFactory_open (PortableServer_Servant servant, priv = factory->priv; /* check URI to see if we support it */ - CORBA_exception_init (&ev2); uri = gnome_vfs_uri_new_private (str_uri, TRUE, TRUE, TRUE); if (!uri) { CORBA_exception_set (ev, CORBA_USER_EXCEPTION, ex_GNOME_Evolution_Calendar_CalFactory_InvalidURI, NULL); - CORBA_exception_free (&ev2); return; } @@ -455,11 +453,8 @@ impl_CalFactory_open (PortableServer_Servant servant, CORBA_exception_set (ev, CORBA_USER_EXCEPTION, ex_GNOME_Evolution_Calendar_CalFactory_UnsupportedMethod, NULL); - CORBA_exception_free (&ev2); return; } - - CORBA_exception_free (&ev2); /* duplicate the listener object */ CORBA_exception_init (&ev2); -- cgit v1.2.3