From 35f9c1d29b3ed03486944b83a4c3dc54776e33d5 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 12 Jul 2002 23:58:45 +0000 Subject: Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although * gui/component/select-names/e-select-names-bonobo.c (entry_get_property_fn): Make the ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although there's still something wrong. svn path=/trunk/; revision=17446 --- addressbook/ChangeLog | 7 +++++++ addressbook/gui/component/select-names/e-select-names-bonobo.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 988f2ca2d8..f828b42f37 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,10 @@ +2002-07-12 Dan Winship + + * gui/component/select-names/e-select-names-bonobo.c + (entry_get_property_fn): Make the + ENTRY_PROPERTY_ID_SIMPLE_CARD_LIST case not crash, although + there's still something wrong. + 2002-07-10 Chris Toshok * gui/component/select-names/e-select-names-completion.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 a8d0975771..95fc4bc262 100644 --- a/addressbook/gui/component/select-names/e-select-names-bonobo.c +++ b/addressbook/gui/component/select-names/e-select-names-bonobo.c @@ -126,7 +126,7 @@ entry_get_property_fn (BonoboPropertyBag *bag, card_list->_buffer[i] = bonobo_object_corba_objref (BONOBO_OBJECT (simple_card)); } - CORBA_free (arg->_value); + CORBA_free (*(GNOME_Evolution_Addressbook_SimpleCardList **)arg->_value); BONOBO_ARG_SET_GENERAL (arg, card_list, TC_GNOME_Evolution_Addressbook_SimpleCardList, GNOME_Evolution_Addressbook_SimpleCardList *, NULL); } break; -- cgit v1.2.3