From 8e88e78fbb50309ef2c225e2dcf1466ccfcc49b4 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 14 Sep 2001 22:38:08 +0000 Subject: Return a proper value. (impl_Shell_createStorageSetView): Likewise. * e-shell.c (impl_Shell_getLocalStorage): Return a proper value. (impl_Shell_createStorageSetView): Likewise. (impl_Shell_setLineStatus): Likewise. (impl_Shell__get_displayName): Likewise. (impl_Shell_getComponentByType): Likewise. (impl_Shell_createNewView): Likewise. (impl_Shell_handleURI): Likewise. svn path=/trunk/; revision=12834 --- shell/e-shell.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shell/e-shell.c') diff --git a/shell/e-shell.c b/shell/e-shell.c index 34f1851230..461807a3d9 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -221,7 +221,7 @@ impl_Shell__get_displayName (PortableServer_Servant servant, CORBA_char *retval; if (raise_exception_if_not_ready (servant, ev)) - return; + return NULL; display_string = DisplayString (gdk_display); if (display_string == NULL) @@ -245,7 +245,7 @@ impl_Shell_getComponentByType (PortableServer_Servant servant, EShell *shell; if (raise_exception_if_not_ready (servant, ev)) - return; + return CORBA_OBJECT_NIL; bonobo_object = bonobo_object_from_servant (servant); shell = E_SHELL (bonobo_object); @@ -275,7 +275,7 @@ impl_Shell_createNewView (PortableServer_Servant servant, GNOME_Evolution_ShellView shell_view_interface; if (raise_exception_if_not_ready (servant, ev)) - return; + return CORBA_OBJECT_NIL; bonobo_object = bonobo_object_from_servant (servant); shell = E_SHELL (bonobo_object); @@ -426,7 +426,7 @@ impl_Shell_getLocalStorage (PortableServer_Servant servant, EShellPrivate *priv; if (raise_exception_if_not_ready (servant, ev)) - return; + return CORBA_OBJECT_NIL; bonobo_object = bonobo_object_from_servant (servant); shell = E_SHELL (bonobo_object); @@ -448,7 +448,7 @@ impl_Shell_createStorageSetView (PortableServer_Servant servant, BonoboControl *control; if (raise_exception_if_not_ready (servant, ev)) - return; + return CORBA_OBJECT_NIL; bonobo_object = bonobo_object_from_servant (servant); shell = E_SHELL (bonobo_object); -- cgit