aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-11-07 05:22:42 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-11-07 05:22:42 +0800
commitbbe8c73db98b02f3e12b12ddd32aca4968607dec (patch)
tree1c683d2764a63bcc3e8a7ecc2a835649e43f7c13
parent11f3d444daf479f437e70bebe6ef9df5dcb8d2b8 (diff)
downloadgsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.tar
gsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.tar.gz
gsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.tar.bz2
gsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.tar.lz
gsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.tar.xz
gsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.tar.zst
gsoc2013-evolution-bbe8c73db98b02f3e12b12ddd32aca4968607dec.zip
Fixed a missing `CORBA_Object_duplicate()' problem. This should fix
the crashes of the components on exit. svn path=/trunk/; revision=6425
-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