diff options
-rw-r--r-- | addressbook/ChangeLog | 6 | ||||
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-bonobo.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index d18c824e5d..44793f2277 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2000-11-06 Ettore Perazzoli <ettore@helixcode.com> + + * gui/component/select-names/e-select-names-bonobo.c + (impl_SelectNames_get_entry_for_section): Duplicate the object + reference before returning. + 2000-11-05 Christopher James Lahey <clahey@helixcode.com> * contact-editor/e-contact-editor.c, 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 |