From 5f27abb5443e5fa9951a5953151089a785b19671 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 6 Nov 2000 21:43:07 +0000 Subject: Fix the addressbook crash that happened when the ESelectNames control was getting destroyed. svn path=/trunk/; revision=6453 --- addressbook/gui/component/select-names/e-select-names-bonobo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/gui') diff --git a/addressbook/gui/component/select-names/e-select-names-bonobo.c b/addressbook/gui/component/select-names/e-select-names-bonobo.c index d4e2d32cfc..1a0bd450f0 100644 --- a/addressbook/gui/component/select-names/e-select-names-bonobo.c +++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c @@ -176,7 +176,7 @@ impl_SelectNames_get_entry_for_section (PortableServer_Servant servant, bonobo_control_set_properties (control, property_bag); - return bonobo_object_corba_objref (BONOBO_OBJECT (control)); + return CORBA_Object_duplicate (bonobo_object_corba_objref (BONOBO_OBJECT (control)), ev); } static void -- cgit v1.2.3