From e013e10cc54fae7ad8409aa65c4731331ed6000a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 2 Jul 2009 19:13:15 -0400 Subject: Kill EConfigListener. --- addressbook/gui/component/addressbook.h | 1 - addressbook/util/eab-book-util.c | 12 ------------ addressbook/util/eab-book-util.h | 4 ---- 3 files changed, 17 deletions(-) (limited to 'addressbook') diff --git a/addressbook/gui/component/addressbook.h b/addressbook/gui/component/addressbook.h index 0dbd4d7a3d..3997c9c176 100644 --- a/addressbook/gui/component/addressbook.h +++ b/addressbook/gui/component/addressbook.h @@ -23,7 +23,6 @@ #define __ADDRESSBOOK_H__ #include -#include #include #include #include diff --git a/addressbook/util/eab-book-util.c b/addressbook/util/eab-book-util.c index b3450a29cf..599486cfda 100644 --- a/addressbook/util/eab-book-util.c +++ b/addressbook/util/eab-book-util.c @@ -27,18 +27,6 @@ #include #include #include -#include - -EConfigListener * -eab_get_config_database (void) -{ - static EConfigListener *config_db; - - if (config_db == NULL) - config_db = e_config_listener_new (); - - return config_db; -} /* * diff --git a/addressbook/util/eab-book-util.h b/addressbook/util/eab-book-util.h index 8a9df33e40..8c43b64bcd 100644 --- a/addressbook/util/eab-book-util.h +++ b/addressbook/util/eab-book-util.h @@ -27,15 +27,11 @@ #include #include #include -#include "e-util/e-config-listener.h" G_BEGIN_DECLS typedef void (*EABHaveAddressCallback) (EBook *book, const gchar *addr, EContact *contact, gpointer closure); -/* config database interface. */ -EConfigListener *eab_get_config_database (void); - /* Specialized Name/Email Queries */ guint eab_name_and_email_query (EBook *book, const gchar *name, -- cgit