aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-storage.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-01-27 05:02:21 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-01-27 05:02:21 +0800
commit19791220710c9d632ac5836a3a1163bc00675a9d (patch)
treec8714ab7eac23aba758307e66663ff161e8826b8 /shell/e-corba-storage.c
parent81fa33a7873d9a5c41452dbfed79015773b6c1bd (diff)
downloadgsoc2013-evolution-19791220710c9d632ac5836a3a1163bc00675a9d.tar.gz
gsoc2013-evolution-19791220710c9d632ac5836a3a1163bc00675a9d.tar.zst
gsoc2013-evolution-19791220710c9d632ac5836a3a1163bc00675a9d.zip
Remove all instances of non-portable macro `__FUNCTION__' from the
shell. svn path=/trunk/; revision=7841
Diffstat (limited to 'shell/e-corba-storage.c')
-rw-r--r--shell/e-corba-storage.c7
1 files changed, 3 insertions, 4 deletions
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);