From c66ce91f684e02545b6d930c228d9239066f4c0f Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 15 Apr 2004 02:14:35 +0000 Subject: rip out tons of functions - they all live in addressbook-view.c now. the 2004-04-14 Chris Toshok * gui/component/addressbook.c: rip out tons of functions - they all live in addressbook-view.c now. the only thing left in this file is the addressbook_load* calls that do authentication. * gui/component/addressbook.h: remove prototypes for addressbook_new_control and addressbook_load_uri (it was #if 0'ed anyway.) * gui/component/addressbook-component.h: remove prototypes for _peek_activity_handler and _peek_source_list. * gui/component/addressbook-component.c: rip out tons of functions - they all live in addressbook-view.c now. (impl_createControls): simplify this immensely. we just create an AddressbookView and get the various widgets/controls from it. (impl_requestCreateItem): this function loses slightly - it needs per-window info (the selected source) but there's no way to get it. So we load the default book. Also, this uses a synchronous e_book call to load the book, which is not good. (addressbook_component_peek_source_list): nuke, not used by anything anyway. (addressbook_component_peek_activity_handler): nuked, not used by anything - and it's per-window anyway. * gui/component/Makefile.am (libevolution_addressbook_la_SOURCES): add addressbook-view.[ch]. * gui/component/addressbook-view.[ch]: rip out all of the per window stuff from addressbook.[ch] and addressbook-component.[ch] and put it here. svn path=/trunk/; revision=25471 --- addressbook/gui/component/addressbook-component.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'addressbook/gui/component/addressbook-component.h') diff --git a/addressbook/gui/component/addressbook-component.h b/addressbook/gui/component/addressbook-component.h index 76884b0bb8..de92637a59 100644 --- a/addressbook/gui/component/addressbook-component.h +++ b/addressbook/gui/component/addressbook-component.h @@ -59,7 +59,5 @@ AddressbookComponent *addressbook_component_peek (void); GConfClient *addressbook_component_peek_gconf_client (AddressbookComponent *component); const char *addressbook_component_peek_base_directory (AddressbookComponent *component); -EActivityHandler *addressbook_component_peek_activity_handler (AddressbookComponent *component); -ESourceList *addressbook_component_peek_source_list (AddressbookComponent *component); #endif /* _ADDRESSBOOK_COMPONENT_H_ */ -- cgit v1.2.3