aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-11-07 05:43:07 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-11-07 05:43:07 +0800
commit5f27abb5443e5fa9951a5953151089a785b19671 (patch)
tree639b68531fc54ea560e06d354d5e1db929f87dd0 /addressbook
parentb4c61eba8055f666fd8a2270879a6f9722faa2b3 (diff)
downloadgsoc2013-evolution-5f27abb5443e5fa9951a5953151089a785b19671.tar.gz
gsoc2013-evolution-5f27abb5443e5fa9951a5953151089a785b19671.tar.zst
gsoc2013-evolution-5f27abb5443e5fa9951a5953151089a785b19671.zip
Fix the addressbook crash that happened when the ESelectNames control
was getting destroyed. svn path=/trunk/; revision=6453
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/select-names/e-select-names-bonobo.c2
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