aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-04 03:14:03 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-04 03:14:03 +0800
commit2a39437ee94059a79d3dc1bf0c97a3aeaff23f53 (patch)
tree657e23e83bad7ff98e891f45043a41b09ff57647 /addressbook
parenteecffa7af35a3eb0742bff4d10be55c3a70f2876 (diff)
downloadgsoc2013-evolution-2a39437ee94059a79d3dc1bf0c97a3aeaff23f53.tar.gz
gsoc2013-evolution-2a39437ee94059a79d3dc1bf0c97a3aeaff23f53.tar.zst
gsoc2013-evolution-2a39437ee94059a79d3dc1bf0c97a3aeaff23f53.zip
Adapt to single-include E-D-S libraries.
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor-fullname.h2
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.c6
-rw-r--r--addressbook/gui/contact-editor/e-contact-editor.h3
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.c8
-rw-r--r--addressbook/gui/contact-editor/e-contact-quick-add.h3
-rw-r--r--addressbook/gui/contact-editor/eab-editor.h2
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c2
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.h6
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-model.h3
-rw-r--r--addressbook/gui/merging/eab-contact-compare.c6
-rw-r--r--addressbook/gui/merging/eab-contact-compare.h4
-rw-r--r--addressbook/gui/merging/eab-contact-merging.h3
-rw-r--r--addressbook/gui/widgets/e-addressbook-model.h5
-rw-r--r--addressbook/gui/widgets/e-addressbook-reflow-adapter.h3
-rw-r--r--addressbook/gui/widgets/e-addressbook-selector.c3
-rw-r--r--addressbook/gui/widgets/e-addressbook-selector.h3
-rw-r--r--addressbook/gui/widgets/e-addressbook-table-adapter.c2
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c2
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.h3
-rw-r--r--addressbook/gui/widgets/e-book-source-config.c4
-rw-r--r--addressbook/gui/widgets/e-minicard-view-widget.h3
-rw-r--r--addressbook/gui/widgets/e-minicard-view.c2
-rw-r--r--addressbook/gui/widgets/e-minicard.c1
-rw-r--r--addressbook/gui/widgets/e-minicard.h2
-rw-r--r--addressbook/gui/widgets/eab-config.h3
-rw-r--r--addressbook/gui/widgets/eab-contact-display.h4
-rw-r--r--addressbook/gui/widgets/eab-contact-formatter.h6
-rw-r--r--addressbook/gui/widgets/eab-gui-util.c8
-rw-r--r--addressbook/gui/widgets/eab-gui-util.h4
-rw-r--r--addressbook/gui/widgets/gal-view-minicard.c1
-rw-r--r--addressbook/importers/evolution-csv-importer.c8
-rw-r--r--addressbook/importers/evolution-ldif-importer.c8
-rw-r--r--addressbook/importers/evolution-vcard-importer.c7
-rw-r--r--addressbook/printing/e-contact-print.c6
-rw-r--r--addressbook/printing/e-contact-print.h4
-rw-r--r--addressbook/tools/evolution-addressbook-export-list-cards.c6
-rw-r--r--addressbook/tools/evolution-addressbook-export-list-folders.c5
-rw-r--r--addressbook/tools/evolution-addressbook-export.c2
-rw-r--r--addressbook/tools/evolution-addressbook-export.h2
-rw-r--r--addressbook/util/eab-book-util.c1
-rw-r--r--addressbook/util/eab-book-util.h3
41 files changed, 49 insertions, 110 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor-fullname.h b/addressbook/gui/contact-editor/e-contact-editor-fullname.h
index 8fb7acfa1e..51a9e28db9 100644
--- a/addressbook/gui/contact-editor/e-contact-editor-fullname.h
+++ b/addressbook/gui/contact-editor/e-contact-editor-fullname.h
@@ -24,7 +24,7 @@
#define __E_CONTACT_EDITOR_FULLNAME_H__
#include <gtk/gtk.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
G_BEGIN_DECLS
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c
index 131ca474c7..e03d00cffd 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.c
+++ b/addressbook/gui/contact-editor/e-contact-editor.c
@@ -35,11 +35,7 @@
#include <gdk/gdkkeysyms.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <libebook/e-address-western.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-categories-dialog.h>
-#include <libedataserverui/e-category-completion.h>
-#include <libedataserverui/e-source-combo-box.h>
+#include <libedataserverui/libedataserverui.h>
#include "addressbook/printing/e-contact-print.h"
#include "addressbook/gui/widgets/eab-gui-util.h"
diff --git a/addressbook/gui/contact-editor/e-contact-editor.h b/addressbook/gui/contact-editor/e-contact-editor.h
index 7f39fe421e..49446f7350 100644
--- a/addressbook/gui/contact-editor/e-contact-editor.h
+++ b/addressbook/gui/contact-editor/e-contact-editor.h
@@ -25,9 +25,6 @@
#include "addressbook/gui/contact-editor/eab-editor.h"
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
-
#include <gtk/gtk.h>
G_BEGIN_DECLS
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c
index 7172a6022c..5ea618bc32 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.c
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.c
@@ -28,11 +28,9 @@
#include <string.h>
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-source-combo-box.h>
-#include <libedataserver/e-source-address-book.h>
+
+#include <libedataserverui/libedataserverui.h>
+
#include <addressbook/util/eab-book-util.h>
#include "e-contact-editor.h"
#include "e-contact-quick-add.h"
diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.h b/addressbook/gui/contact-editor/e-contact-quick-add.h
index 91e64014e7..cd5d8ba44c 100644
--- a/addressbook/gui/contact-editor/e-contact-quick-add.h
+++ b/addressbook/gui/contact-editor/e-contact-quick-add.h
@@ -23,8 +23,7 @@
#ifndef __E_CONTACT_QUICK_ADD_H__
#define __E_CONTACT_QUICK_ADD_H__
-#include <libebook/e-contact.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
typedef void (*EContactQuickAddCallback) (EContact *new_contact,
gpointer closure);
diff --git a/addressbook/gui/contact-editor/eab-editor.h b/addressbook/gui/contact-editor/eab-editor.h
index cf8a20aecb..88ede1522f 100644
--- a/addressbook/gui/contact-editor/eab-editor.h
+++ b/addressbook/gui/contact-editor/eab-editor.h
@@ -25,7 +25,7 @@
#define __EAB_EDITOR_H__
#include <gtk/gtk.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
#include <shell/e-shell.h>
/* Standard GObject macros */
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index f67eecb979..fe61ccaa9e 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -37,8 +37,6 @@
#include <gdk/gdkkeysyms.h>
#include <camel/camel.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-source-combo-box.h>
#include "e-util/e-util.h"
#include "addressbook/gui/widgets/eab-gui-util.h"
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.h b/addressbook/gui/contact-list-editor/e-contact-list-editor.h
index ecf5098fa8..07cc4db6bf 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.h
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.h
@@ -23,14 +23,10 @@
#ifndef __E_CONTACT_LIST_EDITOR_H__
#define __E_CONTACT_LIST_EDITOR_H__
-#include <libedataserverui/e-name-selector.h>
+#include <libedataserverui/libedataserverui.h>
#include "addressbook/gui/contact-editor/eab-editor.h"
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-destination.h>
-
#define E_TYPE_CONTACT_LIST_EDITOR \
(e_contact_list_editor_get_type ())
#define E_CONTACT_LIST_EDITOR(obj) \
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-model.h b/addressbook/gui/contact-list-editor/e-contact-list-model.h
index 91e8a82cdb..ad10d7d539 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-model.h
+++ b/addressbook/gui/contact-list-editor/e-contact-list-model.h
@@ -21,8 +21,7 @@
#define _E_CONTACT_LIST_MODEL_H_
#include <gtk/gtk.h>
-#include <libebook/e-contact.h>
-#include <libebook/e-destination.h>
+#include <libebook/libebook.h>
/* Standard GObject macros */
#define E_TYPE_CONTACT_LIST_MODEL \
diff --git a/addressbook/gui/merging/eab-contact-compare.c b/addressbook/gui/merging/eab-contact-compare.c
index 872648ca42..9a55ffb134 100644
--- a/addressbook/gui/merging/eab-contact-compare.c
+++ b/addressbook/gui/merging/eab-contact-compare.c
@@ -27,9 +27,9 @@
#include <ctype.h>
#include <string.h>
-#include <libebook/e-book-query.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserverui/e-client-utils.h>
+
+#include <libedataserverui/libedataserverui.h>
+
#include "addressbook/util/eab-book-util.h"
#include "eab-contact-compare.h"
diff --git a/addressbook/gui/merging/eab-contact-compare.h b/addressbook/gui/merging/eab-contact-compare.h
index 30c1c2d0cf..f6b05705cf 100644
--- a/addressbook/gui/merging/eab-contact-compare.h
+++ b/addressbook/gui/merging/eab-contact-compare.h
@@ -26,9 +26,7 @@
#ifndef __EAB_CONTACT_COMPARE_H__
#define __EAB_CONTACT_COMPARE_H__
-#include <libebook/e-contact.h>
-#include <libebook/e-book-client.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
typedef enum {
EAB_CONTACT_MATCH_NOT_APPLICABLE = 0,
diff --git a/addressbook/gui/merging/eab-contact-merging.h b/addressbook/gui/merging/eab-contact-merging.h
index a4f62e80c0..fbdc9b0889 100644
--- a/addressbook/gui/merging/eab-contact-merging.h
+++ b/addressbook/gui/merging/eab-contact-merging.h
@@ -26,8 +26,7 @@
#ifndef __E_CONTACT_MERGING_H__
#define __E_CONTACT_MERGING_H__
-#include <libebook/e-book-client.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
G_BEGIN_DECLS
diff --git a/addressbook/gui/widgets/e-addressbook-model.h b/addressbook/gui/widgets/e-addressbook-model.h
index 24c4302457..c5b6489434 100644
--- a/addressbook/gui/widgets/e-addressbook-model.h
+++ b/addressbook/gui/widgets/e-addressbook-model.h
@@ -21,10 +21,7 @@
#ifndef E_ADDRESSBOOK_MODEL_H
#define E_ADDRESSBOOK_MODEL_H
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-client-view.h>
-#include <libebook/e-book-query.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
/* Standard GObject macros */
#define E_TYPE_ADDRESSBOOK_MODEL \
diff --git a/addressbook/gui/widgets/e-addressbook-reflow-adapter.h b/addressbook/gui/widgets/e-addressbook-reflow-adapter.h
index bc428ba30c..d65f3f39fd 100644
--- a/addressbook/gui/widgets/e-addressbook-reflow-adapter.h
+++ b/addressbook/gui/widgets/e-addressbook-reflow-adapter.h
@@ -21,8 +21,9 @@
#ifndef _E_ADDRESSBOOK_REFLOW_ADAPTER_H_
#define _E_ADDRESSBOOK_REFLOW_ADAPTER_H_
+#include <libebook/libebook.h>
#include <text/e-reflow-model.h>
-#include <libebook/e-contact.h>
+
#include "e-addressbook-model.h"
#define E_TYPE_ADDRESSBOOK_REFLOW_ADAPTER (e_addressbook_reflow_adapter_get_type ())
diff --git a/addressbook/gui/widgets/e-addressbook-selector.c b/addressbook/gui/widgets/e-addressbook-selector.c
index 3370eaf629..80595ef59b 100644
--- a/addressbook/gui/widgets/e-addressbook-selector.c
+++ b/addressbook/gui/widgets/e-addressbook-selector.c
@@ -24,9 +24,6 @@
#include "e-addressbook-selector.h"
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserver/e-source-address-book.h>
-
#include <e-util/e-selection.h>
#include <eab-book-util.h>
diff --git a/addressbook/gui/widgets/e-addressbook-selector.h b/addressbook/gui/widgets/e-addressbook-selector.h
index d4d6ad8abd..adabea7205 100644
--- a/addressbook/gui/widgets/e-addressbook-selector.h
+++ b/addressbook/gui/widgets/e-addressbook-selector.h
@@ -21,7 +21,8 @@
#ifndef E_ADDRESSBOOK_SELECTOR_H
#define E_ADDRESSBOOK_SELECTOR_H
-#include <libedataserverui/e-source-selector.h>
+#include <libedataserverui/libedataserverui.h>
+
#include "e-addressbook-view.h"
/* Standard GObject macros */
diff --git a/addressbook/gui/widgets/e-addressbook-table-adapter.c b/addressbook/gui/widgets/e-addressbook-table-adapter.c
index 165f1d7591..c6775d4e5a 100644
--- a/addressbook/gui/widgets/e-addressbook-table-adapter.c
+++ b/addressbook/gui/widgets/e-addressbook-table-adapter.c
@@ -26,7 +26,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
#include "e-addressbook-model.h"
#include "e-addressbook-table-adapter.h"
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 8dc7208fde..e7173bc256 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -41,8 +41,6 @@
#include "e-util/e-print.h"
#include "e-util/e-selection.h"
#include "e-util/e-util.h"
-#include "libedataserver/e-sexp.h"
-#include <libedataserver/e-categories.h>
#include "gal-view-minicard.h"
#include "gal-view-factory-minicard.h"
diff --git a/addressbook/gui/widgets/e-addressbook-view.h b/addressbook/gui/widgets/e-addressbook-view.h
index 1ccfba99b3..3c8c5e2218 100644
--- a/addressbook/gui/widgets/e-addressbook-view.h
+++ b/addressbook/gui/widgets/e-addressbook-view.h
@@ -23,8 +23,7 @@
#ifndef E_ADDRESSBOOK_VIEW_H
#define E_ADDRESSBOOK_VIEW_H
-#include <libebook/e-book-client.h>
-#include <libebook/e-contact.h>
+#include <libebook/libebook.h>
#include <menus/gal-view-instance.h>
#include <misc/e-selection-model.h>
diff --git a/addressbook/gui/widgets/e-book-source-config.c b/addressbook/gui/widgets/e-book-source-config.c
index 7c751030b5..6fca964b68 100644
--- a/addressbook/gui/widgets/e-book-source-config.c
+++ b/addressbook/gui/widgets/e-book-source-config.c
@@ -21,10 +21,6 @@
#include <config.h>
#include <glib/gi18n-lib.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserver/e-source-autocomplete.h>
-#include <libedataserver/e-source-offline.h>
-
#define E_BOOK_SOURCE_CONFIG_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
((obj), E_TYPE_BOOK_SOURCE_CONFIG, EBookSourceConfigPrivate))
diff --git a/addressbook/gui/widgets/e-minicard-view-widget.h b/addressbook/gui/widgets/e-minicard-view-widget.h
index aea68bd5db..f540a43f8e 100644
--- a/addressbook/gui/widgets/e-minicard-view-widget.h
+++ b/addressbook/gui/widgets/e-minicard-view-widget.h
@@ -24,7 +24,8 @@
#define __E_MINICARD_VIEW_WIDGET_H__
#include <misc/e-canvas.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
+
#include "e-minicard-view.h"
G_BEGIN_DECLS
diff --git a/addressbook/gui/widgets/e-minicard-view.c b/addressbook/gui/widgets/e-minicard-view.c
index a07c5d90bf..502ab5f315 100644
--- a/addressbook/gui/widgets/e-minicard-view.c
+++ b/addressbook/gui/widgets/e-minicard-view.c
@@ -24,8 +24,6 @@
#include <config.h>
#endif
-#include <libebook/e-book-client.h>
-
#include "e-minicard-view.h"
#include "eab-gui-util.h"
diff --git a/addressbook/gui/widgets/e-minicard.c b/addressbook/gui/widgets/e-minicard.c
index 86a17eca87..f7d0f7a053 100644
--- a/addressbook/gui/widgets/e-minicard.c
+++ b/addressbook/gui/widgets/e-minicard.c
@@ -38,7 +38,6 @@
#include "e-minicard-view.h"
#include <e-util/e-html-utils.h>
#include <e-util/e-icon-factory.h>
-#include <libebook/e-destination.h>
#include "ea-addressbook.h"
static void e_minicard_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec);
diff --git a/addressbook/gui/widgets/e-minicard.h b/addressbook/gui/widgets/e-minicard.h
index 7fa5519cbb..986f47194a 100644
--- a/addressbook/gui/widgets/e-minicard.h
+++ b/addressbook/gui/widgets/e-minicard.h
@@ -24,8 +24,8 @@
#define E_MINICARD_H
#include <gtk/gtk.h>
+#include <libebook/libebook.h>
#include <libgnomecanvas/libgnomecanvas.h>
-#include <libebook/e-contact.h>
/* Standard GObject macros */
#define E_TYPE_MINICARD \
diff --git a/addressbook/gui/widgets/eab-config.h b/addressbook/gui/widgets/eab-config.h
index 36134c08e7..3907889415 100644
--- a/addressbook/gui/widgets/eab-config.h
+++ b/addressbook/gui/widgets/eab-config.h
@@ -24,7 +24,8 @@
#ifndef __EAB_CONFIG_H__
#define __EAB_CONFIG_H__
-#include <libedataserver/e-source.h>
+#include <libedataserver/libedataserver.h>
+
#include "e-util/e-config.h"
#define EAB_TYPE_CONFIG (eab_config_get_type ())
diff --git a/addressbook/gui/widgets/eab-contact-display.h b/addressbook/gui/widgets/eab-contact-display.h
index 610714800b..79243dedae 100644
--- a/addressbook/gui/widgets/eab-contact-display.h
+++ b/addressbook/gui/widgets/eab-contact-display.h
@@ -23,8 +23,8 @@
#ifndef EAB_CONTACT_DISPLAY_H
#define EAB_CONTACT_DISPLAY_H
-#include <libebook/e-contact.h>
-#include <libebook/e-destination.h>
+#include <libebook/libebook.h>
+
#include <misc/e-web-view.h>
/* Standard GObject macros */
diff --git a/addressbook/gui/widgets/eab-contact-formatter.h b/addressbook/gui/widgets/eab-contact-formatter.h
index 690d74321b..e1f706eb24 100644
--- a/addressbook/gui/widgets/eab-contact-formatter.h
+++ b/addressbook/gui/widgets/eab-contact-formatter.h
@@ -17,10 +17,10 @@
#ifndef EAB_CONTACT_FORMATTER_H
#define EAB_CONTACT_FORMATTER_H
-#include <libebook/e-contact.h>
-#include <addressbook/gui/widgets/eab-contact-display.h>
-
#include <camel/camel.h>
+#include <libebook/libebook.h>
+
+#include <addressbook/gui/widgets/eab-contact-display.h>
/* Standard GObject macros */
#define EAB_TYPE_CONTACT_FORMATTER \
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 95b49a30f6..e0eed37cc3 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -34,11 +34,9 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include <libebook/e-destination.h>
-#include <libedataserver/e-data-server-util.h>
-#include <libedataserver/e-source-address-book.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-source-selector.h>
+
+#include <libedataserverui/libedataserverui.h>
+
#include <e-util/e-util.h>
#include "eab-gui-util.h"
#include "util/eab-book-util.h"
diff --git a/addressbook/gui/widgets/eab-gui-util.h b/addressbook/gui/widgets/eab-gui-util.h
index 3f6f31997b..7cdd93e84d 100644
--- a/addressbook/gui/widgets/eab-gui-util.h
+++ b/addressbook/gui/widgets/eab-gui-util.h
@@ -25,8 +25,8 @@
#define __E_ADDRESSBOOK_UTIL_H__
#include <gtk/gtk.h>
-#include <libebook/e-book-client.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
+
#include "libevolution-utils/e-alert-sink.h"
G_BEGIN_DECLS
diff --git a/addressbook/gui/widgets/gal-view-minicard.c b/addressbook/gui/widgets/gal-view-minicard.c
index b74f4fb2fd..1016b2c610 100644
--- a/addressbook/gui/widgets/gal-view-minicard.c
+++ b/addressbook/gui/widgets/gal-view-minicard.c
@@ -29,7 +29,6 @@
#include <libxml/parser.h>
#include <libevolution-utils/e-xml-utils.h>
-#include <libedataserver/e-xml-utils.h>
#include "gal-view-minicard.h"
diff --git a/addressbook/importers/evolution-csv-importer.c b/addressbook/importers/evolution-csv-importer.c
index 1f4c4dc87f..9d693e1300 100644
--- a/addressbook/importers/evolution-csv-importer.c
+++ b/addressbook/importers/evolution-csv-importer.c
@@ -34,12 +34,8 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <libebook/e-book-client.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-source-selector.h>
-#include <libedataserver/e-source-address-book.h>
-
-#include <libebook/e-destination.h>
+#include <libebook/libebook.h>
+#include <libedataserverui/libedataserverui.h>
#include <shell/e-shell.h>
#include <e-util/e-import.h>
diff --git a/addressbook/importers/evolution-ldif-importer.c b/addressbook/importers/evolution-ldif-importer.c
index c6f70fbca2..bf1c15793c 100644
--- a/addressbook/importers/evolution-ldif-importer.c
+++ b/addressbook/importers/evolution-ldif-importer.c
@@ -41,12 +41,8 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <libebook/e-book-client.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-source-selector.h>
-#include <libedataserver/e-source-address-book.h>
-
-#include <libebook/e-destination.h>
+#include <libebook/libebook.h>
+#include <libedataserverui/libedataserverui.h>
#include <shell/e-shell.h>
#include <e-util/e-import.h>
diff --git a/addressbook/importers/evolution-vcard-importer.c b/addressbook/importers/evolution-vcard-importer.c
index 5fb0aaa7e5..b20bdd18de 100644
--- a/addressbook/importers/evolution-vcard-importer.c
+++ b/addressbook/importers/evolution-vcard-importer.c
@@ -35,13 +35,10 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <libebook/e-book-client.h>
-#include <libedataserverui/e-client-utils.h>
-#include <libedataserverui/e-source-selector.h>
-#include <libedataserver/e-source-address-book.h>
+#include <libebook/libebook.h>
+#include <libedataserverui/libedataserverui.h>
#include <util/eab-book-util.h>
-#include <libebook/e-destination.h>
#include <shell/e-shell.h>
#include <e-util/e-import.h>
diff --git a/addressbook/printing/e-contact-print.c b/addressbook/printing/e-contact-print.c
index 0746a431c5..72ee6886c8 100644
--- a/addressbook/printing/e-contact-print.c
+++ b/addressbook/printing/e-contact-print.c
@@ -32,12 +32,6 @@
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
#include <glib/gi18n.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-client-view.h>
-#include <libebook/e-contact.h>
-
-#include <libedataserver/e-flag.h>
-#include <libedataserver/e-xml-utils.h>
#include "e-util/e-print.h"
#include "e-util/e-util.h"
diff --git a/addressbook/printing/e-contact-print.h b/addressbook/printing/e-contact-print.h
index 94a61b080c..6cdc231ddd 100644
--- a/addressbook/printing/e-contact-print.h
+++ b/addressbook/printing/e-contact-print.h
@@ -24,8 +24,8 @@
#define E_CONTACT_PRINT_H
#include <gtk/gtk.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
+#include <libebook/libebook.h>
+
#include "e-contact-print-types.h"
void e_contact_print (EBookClient *book_client,
diff --git a/addressbook/tools/evolution-addressbook-export-list-cards.c b/addressbook/tools/evolution-addressbook-export-list-cards.c
index 25a89856f9..977fd9cac4 100644
--- a/addressbook/tools/evolution-addressbook-export-list-cards.c
+++ b/addressbook/tools/evolution-addressbook-export-list-cards.c
@@ -32,11 +32,7 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
-#include <libebook/e-contact.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-source-address-book.h>
+#include <libebook/libebook.h>
#include "evolution-addressbook-export.h"
diff --git a/addressbook/tools/evolution-addressbook-export-list-folders.c b/addressbook/tools/evolution-addressbook-export-list-folders.c
index e64717273f..bfaf110cb9 100644
--- a/addressbook/tools/evolution-addressbook-export-list-folders.c
+++ b/addressbook/tools/evolution-addressbook-export-list-folders.c
@@ -27,10 +27,7 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <libebook/e-book-client.h>
-#include <libebook/e-book-query.h>
-#include <libedataserver/e-source-registry.h>
-#include <libedataserver/e-source-address-book.h>
+#include <libebook/libebook.h>
#include "evolution-addressbook-export.h"
diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c
index f5341a6fe7..47b2671d5a 100644
--- a/addressbook/tools/evolution-addressbook-export.c
+++ b/addressbook/tools/evolution-addressbook-export.c
@@ -28,7 +28,7 @@
#include <string.h>
#include <glib/gi18n.h>
-#include <libebook/e-book-client.h>
+#include <libebook/libebook.h>
#include "evolution-addressbook-export.h"
diff --git a/addressbook/tools/evolution-addressbook-export.h b/addressbook/tools/evolution-addressbook-export.h
index ec8df060fc..b059252f00 100644
--- a/addressbook/tools/evolution-addressbook-export.h
+++ b/addressbook/tools/evolution-addressbook-export.h
@@ -24,7 +24,7 @@
#ifndef _EVOLUTION_ADDRESSBOOK_EXPORT_H_
#define _EVOLUTION_ADDRESSBOOK_EXPORT_H__
-#include <libedataserver/e-source-registry.h>
+#include <libedataserver/libedataserver.h>
G_BEGIN_DECLS
diff --git a/addressbook/util/eab-book-util.c b/addressbook/util/eab-book-util.c
index b25bbce513..7104c445cb 100644
--- a/addressbook/util/eab-book-util.c
+++ b/addressbook/util/eab-book-util.c
@@ -26,7 +26,6 @@
#endif
#include <string.h>
-#include <libedataserver/e-source-registry.h>
#include "eab-book-util.h"
diff --git a/addressbook/util/eab-book-util.h b/addressbook/util/eab-book-util.h
index 99e92b95b5..f05c9a7bbd 100644
--- a/addressbook/util/eab-book-util.h
+++ b/addressbook/util/eab-book-util.h
@@ -24,8 +24,7 @@
#ifndef EAB_BOOK_UTIL_H
#define EAB_BOOK_UTIL_H
-#include <libebook/e-book-client.h>
-#include <libedataserver/e-source-registry.h>
+#include <libebook/libebook.h>
G_BEGIN_DECLS