aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-corba-storage.c
diff options
context:
space:
mode:
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);