diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-06-01 07:05:41 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-06-01 07:05:41 +0800 |
commit | be88a44705a7decc5cf3fb87704f1d6608fea857 (patch) | |
tree | 3838b802677649ef4b231c99683c1b34ee8277f7 /addressbook/printing | |
parent | e86a28e484c9adc8a755f2df7ed9f682e47c32d5 (diff) | |
download | gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.tar gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.tar.gz gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.tar.bz2 gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.tar.lz gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.tar.xz gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.tar.zst gsoc2013-evolution-be88a44705a7decc5cf3fb87704f1d6608fea857.zip |
Added fields for the GalViewMenus and GalViewCollection; we need to keep
2001-05-31 Federico Mena Quintero <federico@ximian.com>
* 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
Diffstat (limited to 'addressbook/printing')
0 files changed, 0 insertions, 0 deletions