From be88a44705a7decc5cf3fb87704f1d6608fea857 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 31 May 2001 23:05:41 +0000 Subject: Added fields for the GalViewMenus and GalViewCollection; we need to keep 2001-05-31 Federico Mena Quintero * gui/widgets/e-addressbook-view.h (EAddressbookView): Added fields for the GalViewMenus and GalViewCollection; we need to keep them around while the component is active. * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Plug leak; unref the spec. Unref the factories. Do not unref the collection, since we need it for the signal emission (okay, so the views object adds a reference to it, but if we are interested in it we should keep a reference anyways). (e_addressbook_view_setup_menus): Create the collection and views on the EAddressbookView's fields so that we can keep them around. (e_addressbook_view_discard_menus): New function; gets rid of the collection and views objects. * gui/component/addressbook.c (control_activate_cb): Call e_addressbook_view_discard_menus(). svn path=/trunk/; revision=10074 --- addressbook/ChangeLog | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index c3e732f16c..6c47e2f67d 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,23 @@ +2001-05-31 Federico Mena Quintero + + * gui/widgets/e-addressbook-view.h (EAddressbookView): Added + fields for the GalViewMenus and GalViewCollection; we need to keep + them around while the component is active. + + * gui/widgets/e-addressbook-view.c + (e_addressbook_view_setup_menus): Plug leak; unref the spec. + Unref the factories. Do not unref the collection, since we need + it for the signal emission (okay, so the views object adds a + reference to it, but if we are interested in it we should keep a + reference anyways). + (e_addressbook_view_setup_menus): Create the collection and views + on the EAddressbookView's fields so that we can keep them around. + (e_addressbook_view_discard_menus): New function; gets rid of the + collection and views objects. + + * gui/component/addressbook.c (control_activate_cb): Call + e_addressbook_view_discard_menus(). + 2001-05-31 Chris Toshok * gui/component/select-names/e-select-names.h (struct @@ -415,8 +435,6 @@ * gui/widgets/e-addressbook-model.h: same. - ->>>>>>> 1.502 2001-05-14 Christopher James Lahey * gui/widgets/e-minicard-view-model.c (remove_card): Fix a small -- cgit