aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/evolution-shell-component.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index c00ea5bc43..a04c095269 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
+
+ * evolution-shell-component.c (impl_ShellComponent_create_view):
+ `CORBA_Object_duplicate()' the return value.
+
2000-11-06 Kjartan Maraas <kmaraas@gnome.org>
* e-setup.c: Added #include <config.h>
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c
index a886ba6b7c..8e149f11fb 100644
--- a/shell/evolution-shell-component.c
+++ b/shell/evolution-shell-component.c
@@ -213,7 +213,7 @@ impl_ShellComponent_create_view (PortableServer_Servant servant,
return CORBA_OBJECT_NIL;
}
- return bonobo_object_corba_objref (BONOBO_OBJECT (control));
+ return CORBA_Object_duplicate (bonobo_object_corba_objref (BONOBO_OBJECT (control)), ev);
}
static void