From 19791220710c9d632ac5836a3a1163bc00675a9d Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Fri, 26 Jan 2001 21:02:21 +0000 Subject: Remove all instances of non-portable macro `__FUNCTION__' from the shell. svn path=/trunk/; revision=7841 --- shell/e-corba-storage.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'shell/e-corba-storage.c') diff --git a/shell/e-corba-storage.c b/shell/e-corba-storage.c index 9326f6ca5c..680471da14 100644 --- a/shell/e-corba-storage.c +++ b/shell/e-corba-storage.c @@ -345,11 +345,10 @@ e_corba_storage_construct (ECorbaStorage *corba_storage, CORBA_exception_init (&ev); Bonobo_Unknown_ref (storage_interface, &ev); - if (ev._major != CORBA_NO_EXCEPTION) { - g_warning ("%s -- Cannot reference Bonobo object", __FUNCTION__); - } else { + if (ev._major != CORBA_NO_EXCEPTION) + g_warning ("e_corba_storage_construct() -- Cannot reference Bonobo object"); + else priv->storage_interface = CORBA_Object_duplicate (storage_interface, &ev); - } CORBA_exception_free (&ev); -- cgit