[evolution] Only #include Camel's top-level header.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Only #include Camel's top-level header.
- Date: Fri, 2 Apr 2010 21:30:16 +0000 (UTC)
commit fabb6b035c40673e7c263040db323d6b7607606e
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Apr 2 16:41:47 2010 -0400
Only #include Camel's top-level header.
addressbook/gui/widgets/eab-gui-util.c | 2 +-
calendar/gui/Makefile.am | 3 ++-
calendar/gui/alarm-notify/notify-main.c | 2 +-
calendar/gui/dialogs/Makefile.am | 3 ++-
calendar/gui/dialogs/comp-editor.c | 10 ----------
calendar/gui/e-cal-component-preview.c | 1 -
calendar/gui/itip-utils.c | 1 -
capplet/settings/mail-account-view.h | 1 -
composer/e-composer-autosave.c | 2 --
composer/e-composer-header-table.c | 1 -
composer/e-composer-post-header.c | 2 +-
composer/e-composer-private.h | 19 -------------------
composer/e-msg-composer.h | 4 +---
e-util/e-signature-utils.c | 7 +------
e-util/e-unicode.c | 2 +-
e-util/e-util.c | 2 --
e-util/e-util.h | 3 +--
em-format/em-format-quote.c | 13 -------------
em-format/em-format-quote.h | 1 -
em-format/em-format.c | 17 -----------------
em-format/em-format.h | 8 +-------
em-format/em-stripsig-filter.h | 2 +-
mail/e-mail-backend.c | 2 --
mail/e-mail-browser.c | 1 -
mail/e-mail-label-list-store.c | 2 +-
mail/e-mail-local.h | 3 +--
mail/e-mail-migrate.c | 6 ------
mail/e-mail-reader-utils.c | 4 +---
mail/e-mail-reader.h | 2 +-
mail/e-mail-store.c | 4 +---
mail/e-mail-store.h | 2 +-
mail/e-mail-tag-editor.h | 3 +--
mail/em-composer-utils.c | 7 -------
mail/em-composer-utils.h | 3 ---
mail/em-config.c | 11 -----------
mail/em-config.h | 3 +--
mail/em-event.c | 11 -----------
mail/em-filter-source-element.c | 8 ++++----
mail/em-folder-properties.c | 7 +------
mail/em-folder-properties.h | 2 +-
mail/em-folder-selector.c | 4 ----
mail/em-folder-tree-model.c | 5 -----
mail/em-folder-tree-model.h | 2 +-
mail/em-folder-tree.c | 9 ---------
mail/em-folder-tree.h | 2 +-
mail/em-folder-utils.c | 7 -------
mail/em-folder-utils.h | 3 +--
mail/em-format-html-display.c | 13 -------------
mail/em-format-html.c | 20 --------------------
mail/em-format-html.h | 4 ----
mail/em-inline-filter.c | 3 ---
mail/em-inline-filter.h | 4 +---
mail/em-junk.h | 3 +--
mail/em-subscribe-editor.c | 3 ---
mail/em-sync-stream.c | 1 -
mail/em-sync-stream.h | 2 +-
mail/em-utils.c | 9 ---------
mail/em-utils.h | 7 +------
mail/em-vfolder-rule.c | 1 -
mail/importers/elm-importer.c | 2 --
mail/importers/evolution-mbox-importer.c | 2 --
mail/importers/mail-importer.c | 7 -------
mail/importers/mail-importer.h | 2 +-
mail/importers/pine-importer.c | 2 --
mail/mail-autofilter.c | 3 ---
mail/mail-autofilter.h | 2 +-
mail/mail-config.h | 2 +-
mail/mail-folder-cache.c | 9 +--------
mail/mail-folder-cache.h | 2 +-
mail/mail-mt.c | 3 ---
mail/mail-mt.h | 3 +--
mail/mail-ops.c | 11 -----------
mail/mail-ops.h | 11 +++--------
mail/mail-send-recv.c | 5 -----
mail/mail-send-recv.h | 2 +-
mail/mail-session.c | 3 ---
mail/mail-session.h | 2 +-
mail/mail-tools.c | 4 ----
mail/mail-tools.h | 3 +--
mail/mail-vfolder.c | 3 ---
mail/mail-vfolder.h | 3 +--
mail/message-list.c | 8 --------
mail/message-list.h | 4 +---
modules/calendar/Makefile.am | 1 +
modules/calendar/e-cal-attachment-handler.c | 2 +-
modules/calendar/e-memo-shell-migrate.c | 2 +-
modules/mail/e-mail-attachment-handler.c | 2 --
modules/mail/e-mail-junk-hook.c | 1 -
modules/mail/e-mail-shell-backend.c | 4 ----
modules/mail/e-mail-shell-backend.h | 2 --
modules/mail/e-mail-shell-content.c | 1 -
modules/mail/e-mail-shell-view-private.h | 6 ------
modules/mail/em-account-prefs.c | 2 --
modules/mail/em-composer-prefs.c | 2 --
modules/mail/em-mailer-prefs.c | 1 -
plugins/attachment-reminder/attachment-reminder.c | 8 --------
plugins/audio-inline/audio-inline.c | 4 ----
plugins/bbdb/bbdb.c | 1 -
plugins/bogo-junk-plugin/bf-junk-filter.c | 5 -----
plugins/external-editor/external-editor.c | 1 -
plugins/groupwise-features/camel-gw-listener.c | 1 +
plugins/groupwise-features/camel-gw-listener.h | 1 -
plugins/groupwise-features/install-shared.c | 8 --------
plugins/groupwise-features/junk-settings.h | 1 -
plugins/groupwise-features/mail-retract.c | 2 --
plugins/groupwise-features/proxy-login.c | 2 --
plugins/groupwise-features/proxy.c | 2 --
plugins/groupwise-features/send-options.c | 1 -
plugins/groupwise-features/share-folder-common.c | 5 -----
plugins/groupwise-features/share-folder.h | 2 +-
plugins/groupwise-features/status-track.c | 5 -----
plugins/hula-account-setup/camel-hula-listener.c | 1 +
plugins/hula-account-setup/camel-hula-listener.h | 1 -
plugins/image-inline/image-inline.c | 3 ---
plugins/imap-features/imap-headers.c | 3 ---
plugins/itip-formatter/itip-formatter.c | 11 -----------
plugins/itip-formatter/itip-view.c | 4 ----
plugins/mail-notification/mail-notification.c | 2 --
plugins/mail-to-task/mail-to-task.c | 8 --------
.../mailing-list-actions/mailing-list-actions.c | 4 ----
plugins/mark-all-read/mark-all-read.c | 1 -
plugins/prefer-plain/prefer-plain.c | 3 ---
plugins/pst-import/Makefile.am | 6 ++++--
plugins/pst-import/pst-importer.c | 10 ----------
plugins/sa-junk-plugin/em-junk-filter.c | 6 ------
plugins/templates/templates.c | 4 ----
plugins/tnef-attachments/tnef-plugin.c | 6 ------
plugins/vcard-inline/vcard-inline.c | 3 ---
widgets/misc/e-account-combo-box.c | 1 -
widgets/misc/e-account-combo-box.h | 2 +-
widgets/misc/e-account-tree-view.c | 2 +-
widgets/misc/e-attachment-view.c | 1 -
widgets/misc/e-attachment.c | 8 --------
widgets/misc/e-attachment.h | 5 +----
widgets/misc/e-web-view.c | 3 +--
widgets/table/e-table-sorting-utils.c | 3 +--
136 files changed, 63 insertions(+), 500 deletions(-)
---
diff --git a/addressbook/gui/widgets/eab-gui-util.c b/addressbook/gui/widgets/eab-gui-util.c
index 0a159da..080d178 100644
--- a/addressbook/gui/widgets/eab-gui-util.c
+++ b/addressbook/gui/widgets/eab-gui-util.c
@@ -43,7 +43,7 @@
#include "eab-contact-merging.h"
/* we link to camel for decoding quoted printable email addresses */
-#include <camel/camel-mime-utils.h>
+#include <camel/camel.h>
#include "addressbook/util/addressbook.h"
diff --git a/calendar/gui/Makefile.am b/calendar/gui/Makefile.am
index 167c1b0..d650a61 100644
--- a/calendar/gui/Makefile.am
+++ b/calendar/gui/Makefile.am
@@ -75,7 +75,8 @@ libevolution_calendar_la_CPPFLAGS = \
-DPREFIX=\""$(prefix)"\" \
$(GNOME_PLATFORM_CFLAGS) \
$(LIBSOUP_CFLAGS) \
- $(EVOLUTION_CALENDAR_CFLAGS)
+ $(EVOLUTION_CALENDAR_CFLAGS) \
+ $(CAMEL_CFLAGS)
ui_DATA = \
e-itip-control.ui \
diff --git a/calendar/gui/alarm-notify/notify-main.c b/calendar/gui/alarm-notify/notify-main.c
index 71fee19..086707e 100644
--- a/calendar/gui/alarm-notify/notify-main.c
+++ b/calendar/gui/alarm-notify/notify-main.c
@@ -31,7 +31,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <unique/unique.h>
-#include <camel/camel-object.h>
+#include <camel/camel.h>
#include <libedataserver/e-source.h>
#include <libedataserverui/e-passwords.h>
diff --git a/calendar/gui/dialogs/Makefile.am b/calendar/gui/dialogs/Makefile.am
index 6e9cb26..0bd89de 100644
--- a/calendar/gui/dialogs/Makefile.am
+++ b/calendar/gui/dialogs/Makefile.am
@@ -15,7 +15,8 @@ libcal_dialogs_la_CPPFLAGS = \
-DEVOLUTION_IMAGESDIR=\""$(imagesdir)"\" \
-DPREFIX=\""$(prefix)"\" \
$(GNOME_PLATFORM_CFLAGS) \
- $(EVOLUTION_CALENDAR_CFLAGS)
+ $(EVOLUTION_CALENDAR_CFLAGS) \
+ $(CAMEL_CFLAGS)
ecalendarincludedir = $(privincludedir)/calendar/gui/dialogs
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 5fe874d..16f9817 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -41,16 +41,6 @@
#include <e-util/gconf-bridge.h>
#include <shell/e-shell.h>
-#include <camel/camel-url.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-stream-fs.h>
-
-#include "mail/mail-tools.h"
-
#include "../print.h"
#include "../comp-util.h"
#include "save-comp.h"
diff --git a/calendar/gui/e-cal-component-preview.c b/calendar/gui/e-cal-component-preview.c
index dbc0fc8..9caebe9 100644
--- a/calendar/gui/e-cal-component-preview.c
+++ b/calendar/gui/e-cal-component-preview.c
@@ -33,7 +33,6 @@
#include <e-util/e-util.h>
#include <e-util/e-categories-config.h>
#include "calendar-config.h"
-#include <camel/camel-mime-filter-tohtml.h>
#define E_CAL_COMPONENT_PREVIEW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 9fe0f1b..f686ac5 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -38,7 +38,6 @@
#include "dialogs/comp-editor-util.h"
#include <composer/e-msg-composer.h>
-#include <camel/camel-mime-filter-tohtml.h>
static const gchar *itip_methods[] = {
"PUBLISH",
diff --git a/capplet/settings/mail-account-view.h b/capplet/settings/mail-account-view.h
index 618dce5..df0a7a1 100644
--- a/capplet/settings/mail-account-view.h
+++ b/capplet/settings/mail-account-view.h
@@ -26,7 +26,6 @@
#include <gtk/gtk.h>
#include "mail/em-account-editor.h"
#include <libedataserver/e-account-list.h>
-#include <camel/camel-provider.h>
#include "mail-view.h"
#define MAIL_ACCOUNT_VIEW_TYPE (mail_account_view_get_type ())
diff --git a/composer/e-composer-autosave.c b/composer/e-composer-autosave.c
index eefb47e..ca7492f 100644
--- a/composer/e-composer-autosave.c
+++ b/composer/e-composer-autosave.c
@@ -24,8 +24,6 @@
#include <e-util/e-alert-dialog.h>
#include <e-util/e-util.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-stream-mem.h>
#define AUTOSAVE_PREFIX ".evolution-composer.autosave"
#define AUTOSAVE_SEED AUTOSAVE_PREFIX "-XXXXXX"
diff --git a/composer/e-composer-header-table.c b/composer/e-composer-header-table.c
index f62dc37..92e2c72 100644
--- a/composer/e-composer-header-table.c
+++ b/composer/e-composer-header-table.c
@@ -19,7 +19,6 @@
#include <string.h>
#include <glib/gi18n-lib.h>
-#include <camel/camel-internet-address.h>
#include <libedataserverui/e-name-selector.h>
#include "e-util/e-binding.h"
diff --git a/composer/e-composer-post-header.c b/composer/e-composer-post-header.c
index cb297fe..7fd26aa 100644
--- a/composer/e-composer-post-header.c
+++ b/composer/e-composer-post-header.c
@@ -22,7 +22,7 @@
#include <string.h>
#include <glib/gi18n.h>
-#include <camel/camel-url.h>
+#include <camel/camel.h>
#define E_COMPOSER_POST_HEADER_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
diff --git a/composer/e-composer-private.h b/composer/e-composer-private.h
index cac41aa..5704395 100644
--- a/composer/e-composer-private.h
+++ b/composer/e-composer-private.h
@@ -27,25 +27,6 @@
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
-#include <camel/camel-charset-map.h>
-#include <camel/camel-cipher-context.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-gpg-context.h>
-#include <camel/camel-iconv.h>
-#include <camel/camel-mime-filter-basic.h>
-#include <camel/camel-mime-filter-canon.h>
-#include <camel/camel-mime-filter-charset.h>
-#include <camel/camel-mime-filter-tohtml.h>
-#include <camel/camel-multipart-encrypted.h>
-#include <camel/camel-multipart-signed.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-string-utils.h>
-#if defined (HAVE_NSS)
-#include <camel/camel-smime-context.h>
-#endif
-
#include "e-composer-actions.h"
#include "e-composer-autosave.h"
#include "e-composer-header-table.h"
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index c55237c..e2ef459 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -24,9 +24,7 @@
#ifndef E_MSG_COMPOSER_H
#define E_MSG_COMPOSER_H
-#include <camel/camel-internet-address.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-session.h>
+#include <camel/camel.h>
#include <libedataserver/e-account.h>
#include <libebook/e-destination.h>
#include <gtkhtml-editor.h>
diff --git a/e-util/e-signature-utils.c b/e-util/e-signature-utils.c
index b28c0cb..e01f909 100644
--- a/e-util/e-signature-utils.c
+++ b/e-util/e-signature-utils.c
@@ -20,14 +20,9 @@
#include "e-signature-utils.h"
#include <errno.h>
+#include <camel/camel.h>
#include <glib/gstdio.h>
#include <gconf/gconf-client.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-mime-filter-charset.h>
-#include <camel/camel-mime-filter-tohtml.h>
#ifndef G_OS_WIN32
#include <sys/wait.h>
diff --git a/e-util/e-unicode.c b/e-util/e-unicode.c
index aa1281f..7a8fe69 100644
--- a/e-util/e-unicode.c
+++ b/e-util/e-unicode.c
@@ -34,7 +34,7 @@
#include <gtk/gtk.h>
#include <libxml/xmlmemory.h>
-#include <camel/camel-iconv.h>
+#include <camel/camel.h>
#include <glib/gi18n.h>
#include "e-unicode.h"
diff --git a/e-util/e-util.c b/e-util/e-util.c
index 5dd7065..7b17f11 100644
--- a/e-util/e-util.c
+++ b/e-util/e-util.c
@@ -44,8 +44,6 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <camel/camel-url.h>
-
#ifdef G_OS_WIN32
#include <windows.h>
#endif
diff --git a/e-util/e-util.h b/e-util/e-util.h
index 7d58a8a..c345919 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -26,9 +26,8 @@
#include <sys/types.h>
#include <gtk/gtk.h>
#include <limits.h>
+#include <camel/camel.h>
#include <gconf/gconf-client.h>
-#include <camel/camel-object.h>
-#include <cairo.h>
#include <e-util/e-marshal.h>
diff --git a/em-format/em-format-quote.c b/em-format/em-format-quote.c
index bf90653..c297b48 100644
--- a/em-format/em-format-quote.c
+++ b/em-format/em-format-quote.c
@@ -27,14 +27,6 @@
#include <string.h>
-#include <camel/camel-iconv.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-mime-filter-tohtml.h>
-#include <camel/camel-mime-filter-enriched.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-url.h>
-
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
@@ -478,11 +470,6 @@ emfq_format_attachment(EMFormat *emf, CamelStream *stream, CamelMimePart *part,
}
}
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-url.h>
-
static void
emfq_text_plain(EMFormatQuote *emfq, CamelStream *stream, CamelMimePart *part, EMFormatHandler *info)
{
diff --git a/em-format/em-format-quote.h b/em-format/em-format-quote.h
index afc3675..100e59d 100644
--- a/em-format/em-format-quote.h
+++ b/em-format/em-format-quote.h
@@ -23,7 +23,6 @@
#ifndef EM_FORMAT_QUOTE_H
#define EM_FORMAT_QUOTE_H
-#include <camel/camel-stream.h>
#include "em-format.h"
/* Standard GObject macros */
diff --git a/em-format/em-format.c b/em-format/em-format.c
index f9126ca..4c1330b 100644
--- a/em-format/em-format.c
+++ b/em-format/em-format.c
@@ -31,23 +31,6 @@
#include <glib/gi18n.h>
#include <gio/gio.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-multipart-encrypted.h>
-#include <camel/camel-multipart-signed.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-gpg-context.h>
-#include <camel/camel-smime-context.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-stream-null.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-mime-filter-charset.h>
-#include <camel/camel-mime-filter-windows.h>
-#include <camel/camel-mime-filter-pgp.h>
-
#include "em-format.h"
#include "e-util/e-util.h"
#include "shell/e-shell.h"
diff --git a/em-format/em-format.h b/em-format/em-format.h
index 39f6240..965ca20 100644
--- a/em-format/em-format.h
+++ b/em-format/em-format.h
@@ -29,13 +29,7 @@
#define EM_FORMAT_H
#include <glib-object.h>
-#include <camel/camel-url.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-session.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-cipher-context.h>
+#include <camel/camel.h>
/* Standard GObject macros */
#define EM_TYPE_FORMAT \
diff --git a/em-format/em-stripsig-filter.h b/em-format/em-stripsig-filter.h
index 39493e5..25ea239 100644
--- a/em-format/em-stripsig-filter.h
+++ b/em-format/em-stripsig-filter.h
@@ -23,7 +23,7 @@
#ifndef __EM_STRIPSIG_FILTER_H__
#define __EM_STRIPSIG_FILTER_H__
-#include <camel/camel-mime-filter.h>
+#include <camel/camel.h>
G_BEGIN_DECLS
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 4ab4440..17b8b4b 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -24,8 +24,6 @@
#include "e-mail-backend.h"
-#include <camel/camel.h>
-
#include "e-util/e-account-utils.h"
#include "e-util/e-alert-dialog.h"
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 9e63645..67adeec 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -23,7 +23,6 @@
#include <string.h>
#include <glib/gi18n.h>
-#include <camel/camel-folder.h>
#include "e-util/e-util.h"
#include "e-util/e-plugin-ui.h"
diff --git a/mail/e-mail-label-list-store.c b/mail/e-mail-label-list-store.c
index ed0d4cd..bad13c9 100644
--- a/mail/e-mail-label-list-store.c
+++ b/mail/e-mail-label-list-store.c
@@ -22,7 +22,7 @@
#include "e-mail-label-list-store.h"
#include <glib/gi18n.h>
-#include <camel/camel-utf8.h>
+#include <camel/camel.h>
#include "e-util/gconf-bridge.h"
#define E_MAIL_LABEL_LIST_STORE_GET_PRIVATE(obj) \
diff --git a/mail/e-mail-local.h b/mail/e-mail-local.h
index b8dda29..b5b7e8a 100644
--- a/mail/e-mail-local.h
+++ b/mail/e-mail-local.h
@@ -23,8 +23,7 @@
#define E_MAIL_LOCAL_H
#include <glib.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
G_BEGIN_DECLS
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c
index 3659c73..968aaa6 100644
--- a/mail/e-mail-migrate.c
+++ b/mail/e-mail-migrate.c
@@ -41,12 +41,6 @@
#include <gconf/gconf-client.h>
-#include <camel/camel.h>
-#include <camel/camel-store.h>
-#include <camel/camel-session.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-disco-folder.h>
-
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/xmlmemory.h>
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index b525345..f41c4e2 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -25,9 +25,7 @@
#include <glib/gi18n.h>
#include <gtkhtml/gtkhtml.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-vee-store.h>
+#include <camel/camel.h>
#include "e-util/e-alert-dialog.h"
#include "filter/e-filter-rule.h"
diff --git a/mail/e-mail-reader.h b/mail/e-mail-reader.h
index a79d7f5..8a13223 100644
--- a/mail/e-mail-reader.h
+++ b/mail/e-mail-reader.h
@@ -28,7 +28,7 @@
* a GtkWidget pointer which almost always has to be type casted. */
#include <gtk/gtk.h>
-#include <camel/camel-folder.h>
+#include <camel/camel.h>
#include <mail/em-format-html-display.h>
#include <shell/e-shell-backend.h>
diff --git a/mail/e-mail-store.c b/mail/e-mail-store.c
index f088b9f..1024ec6 100644
--- a/mail/e-mail-store.c
+++ b/mail/e-mail-store.c
@@ -22,9 +22,7 @@
#include "e-mail-store.h"
#include <glib/gi18n.h>
-#include <camel/camel-service.h>
-#include <camel/camel-session.h>
-#include <camel/camel-url.h>
+#include <camel/camel.h>
#include <libedataserver/e-account.h>
#include <libedataserver/e-account-list.h>
diff --git a/mail/e-mail-store.h b/mail/e-mail-store.h
index bfd1ab4..7d42fc3 100644
--- a/mail/e-mail-store.h
+++ b/mail/e-mail-store.h
@@ -23,7 +23,7 @@
#define E_MAIL_STORE_H
#include <glib.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
G_BEGIN_DECLS
diff --git a/mail/e-mail-tag-editor.h b/mail/e-mail-tag-editor.h
index b28674c..fe2365c 100644
--- a/mail/e-mail-tag-editor.h
+++ b/mail/e-mail-tag-editor.h
@@ -25,8 +25,7 @@
#define E_MAIL_TAG_EDITOR_H
#include <gtk/gtk.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-folder-summary.h>
+#include <camel/camel.h>
/* Standard GObject macros */
#define E_TYPE_MAIL_TAG_EDITOR \
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index fc312c8..ec6ab34 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -59,13 +59,6 @@
#include "em-format-quote.h"
#include "em-event.h"
-#include <camel/camel-folder.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-nntp-address.h>
-#include <camel/camel-vee-folder.h>
-
#ifdef G_OS_WIN32
/* Undef the similar macro from pthread.h, it doesn't check if
* gmtime() returns NULL.
diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h
index be29a7a..a3c6f11 100644
--- a/mail/em-composer-utils.h
+++ b/mail/em-composer-utils.h
@@ -24,9 +24,6 @@
#ifndef __EM_COMPOSER_UTILS_H__
#define __EM_COMPOSER_UTILS_H__
-#include <glib.h>
-#include <camel/camel-nntp-address.h>
-
#include <em-format/em-format.h>
#include <composer/e-msg-composer.h>
diff --git a/mail/em-config.c b/mail/em-config.c
index 4b1e835..67cfddf 100644
--- a/mail/em-config.c
+++ b/mail/em-config.c
@@ -33,17 +33,6 @@
#include "em-utils.h"
#include "em-composer-utils.h"
-#include <camel/camel-store.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-mime-utils.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-url.h>
-
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-vtrash-folder.h>
-
#include <gconf/gconf.h>
#include <gconf/gconf-client.h>
diff --git a/mail/em-config.h b/mail/em-config.h
index 62e74be..003498d 100644
--- a/mail/em-config.h
+++ b/mail/em-config.h
@@ -23,9 +23,8 @@
#ifndef __EM_CONFIG_H__
#define __EM_CONFIG_H__
-#include <glib-object.h>
+#include <camel/camel.h>
#include <gconf/gconf-client.h>
-#include <camel/camel-folder.h>
#include <libedataserver/e-account.h>
#include "e-util/e-config.h"
diff --git a/mail/em-event.c b/mail/em-event.c
index 7cb4c19..6a77deb 100644
--- a/mail/em-event.c
+++ b/mail/em-event.c
@@ -32,17 +32,6 @@
#include "em-event.h"
#include "composer/e-msg-composer.h"
-#include <camel/camel-store.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-mime-utils.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-url.h>
-
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-vtrash-folder.h>
-
static GObjectClass *eme_parent;
static EMEvent *em_event;
diff --git a/mail/em-filter-source-element.c b/mail/em-filter-source-element.c
index d080076..bf185ce 100644
--- a/mail/em-filter-source-element.c
+++ b/mail/em-filter-source-element.c
@@ -30,9 +30,9 @@
#include "em-filter-source-element.h"
#include <gtk/gtk.h>
+#include <camel/camel.h>
#include <libedataserver/e-sexp.h>
#include <libedataserver/e-account-list.h>
-#include <camel/camel-url.h>
#include "filter/e-filter-part.h"
@@ -44,7 +44,7 @@ static gint source_eq(EFilterElement *fe, EFilterElement *cm);
static void xml_create(EFilterElement *fe, xmlNodePtr node);
static xmlNodePtr xml_encode(EFilterElement *fe);
static gint xml_decode(EFilterElement *fe, xmlNodePtr node);
-static EFilterElement *clone(EFilterElement *fe);
+static EFilterElement *filter_clone(EFilterElement *fe);
static GtkWidget *get_widget(EFilterElement *fe);
static void build_code(EFilterElement *fe, GString *out, EFilterPart *ff);
static void format_sexp(EFilterElement *, GString *);
@@ -106,7 +106,7 @@ em_filter_source_element_class_init(EMFilterSourceElementClass *klass)
fe_class->xml_create = xml_create;
fe_class->xml_encode = xml_encode;
fe_class->xml_decode = xml_decode;
- fe_class->clone = clone;
+ fe_class->clone = filter_clone;
fe_class->get_widget = get_widget;
fe_class->build_code = build_code;
fe_class->format_sexp = format_sexp;
@@ -212,7 +212,7 @@ xml_decode(EFilterElement *fe, xmlNodePtr node)
}
static EFilterElement *
-clone(EFilterElement *fe)
+filter_clone(EFilterElement *fe)
{
EMFilterSourceElement *fs = (EMFilterSourceElement *)fe;
EMFilterSourceElement *cpy = em_filter_source_element_new();
diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c
index 7b79571..e02f039 100644
--- a/mail/em-folder-properties.c
+++ b/mail/em-folder-properties.c
@@ -27,15 +27,10 @@
#include <string.h>
#include <gtk/gtk.h>
+#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
-#include <camel/camel-store.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-vtrash-folder.h>
-#include <camel/camel-vee-folder.h>
-#include <glib/gi18n.h>
-
#include "em-folder-properties.h"
#include "em-config.h"
diff --git a/mail/em-folder-properties.h b/mail/em-folder-properties.h
index 330be15..d080935 100644
--- a/mail/em-folder-properties.h
+++ b/mail/em-folder-properties.h
@@ -24,7 +24,7 @@
#ifndef __EM_FOLDER_PROPERTIES_H__
#define __EM_FOLDER_PROPERTIES_H__
-#include <camel/camel-folder.h>
+#include <camel/camel.h>
#include <shell/e-shell-view.h>
G_BEGIN_DECLS
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index 1a9123a..8ba323c 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -25,10 +25,6 @@
#include <glib/gi18n.h>
#include <e-util/e-util.h>
-#include <camel/camel-url.h>
-#include <camel/camel-store.h>
-#include <camel/camel-session.h>
-
#include "em-folder-tree.h"
#include "em-folder-selector.h"
#include "em-folder-utils.h"
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 3daacc5..e34f911 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -35,8 +35,6 @@
#include <glib/gi18n.h>
-#include <camel/camel-file-utils.h>
-
#include "mail-config.h"
#include "mail-session.h"
#include "mail-tools.h"
@@ -49,9 +47,6 @@
#include "em-folder-utils.h"
#include "em-event.h"
-#include <camel/camel-folder.h>
-#include <camel/camel-vee-store.h>
-
#include "e-mail-local.h"
#include "shell/e-shell.h"
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h
index e0a73e0..82775ae 100644
--- a/mail/em-folder-tree-model.h
+++ b/mail/em-folder-tree-model.h
@@ -24,7 +24,7 @@
#define EM_FOLDER_TREE_MODEL_H
#include <gtk/gtk.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
#include <libedataserver/e-account-list.h>
/* Standard GObject macros */
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index bbb9ec3..badb6f8 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -39,15 +39,6 @@
#include <gdk/gdkkeysyms.h>
#include <glib/gi18n.h>
-#include <camel/camel-session.h>
-#include <camel/camel-store.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-vee-store.h>
-#include <camel/camel-vtrash-folder.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-stream-fs.h>
-
#include "e-util/e-account-utils.h"
#include "e-util/e-mktemp.h"
#include "e-util/e-icon-factory.h"
diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h
index 273a87a..5bdee73 100644
--- a/mail/em-folder-tree.h
+++ b/mail/em-folder-tree.h
@@ -25,7 +25,7 @@
#define EM_FOLDER_TREE_H
#include <gtk/gtk.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
#include <mail/em-folder-tree-model.h>
/* Standard GObject macros */
diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c
index 9816886..3381275 100644
--- a/mail/em-folder-utils.c
+++ b/mail/em-folder-utils.c
@@ -39,13 +39,6 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <glib/gi18n.h>
-#include <camel/camel-session.h>
-#include <camel/camel-vee-store.h>
-#include <camel/camel-vtrash-folder.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-stream-fs.h>
-
#include "e-util/e-mktemp.h"
#include "e-util/e-alert-dialog.h"
diff --git a/mail/em-folder-utils.h b/mail/em-folder-utils.h
index ec150f3..ec5882d 100644
--- a/mail/em-folder-utils.h
+++ b/mail/em-folder-utils.h
@@ -25,8 +25,7 @@
#define EM_FOLDER_UTILS_H
#include <gtk/gtk.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
#include <mail/em-folder-tree.h>
G_BEGIN_DECLS
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index ee3e4ac..e93b517 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -43,19 +43,6 @@
#include <glib/gi18n.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-mime-filter-tohtml.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-internet-address.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-cipher-context.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-operation.h>
-
#include <e-util/e-util.h>
#include <e-util/e-util-private.h>
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index a8ffc2f..3e9a26a 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -54,25 +54,6 @@
#include <glib/gi18n.h>
-#include <camel/camel-iconv.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-mime-filter.h>
-#include <camel/camel-mime-filter-tohtml.h>
-#include <camel/camel-mime-filter-enriched.h>
-#include <camel/camel-mime-filter-basic.h>
-#include <camel/camel-gpg-context.h>
-#include <camel/camel-cipher-context.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-url.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-string-utils.h>
-#include <camel/camel-http-stream.h>
-#include <camel/camel-data-cache.h>
-#include <camel/camel-file-utils.h>
-
#include "mail-config.h"
#include "mail-mt.h"
@@ -1538,7 +1519,6 @@ efh_object_requested(GtkHTML *html, GtkHTMLEmbedded *eb, EMFormatHTML *efh)
/* ********************************************************************** */
#include "em-inline-filter.h"
-#include <camel/camel-stream-null.h>
/* FIXME: This is duplicated in em-format-html-display, should be exported or in security module */
static const struct {
diff --git a/mail/em-format-html.h b/mail/em-format-html.h
index bac45d8..26a6671 100644
--- a/mail/em-format-html.h
+++ b/mail/em-format-html.h
@@ -30,10 +30,6 @@
#include <em-format/em-format.h>
#include <mail/mail-config.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-url.h>
#include <gtkhtml/gtkhtml.h>
#include <gtkhtml/gtkhtml-embedded.h>
diff --git a/mail/em-inline-filter.c b/mail/em-inline-filter.c
index 1959b0b..4418755 100644
--- a/mail/em-inline-filter.c
+++ b/mail/em-inline-filter.c
@@ -27,9 +27,6 @@
#include <string.h>
#include "em-inline-filter.h"
-#include <camel/camel-mime-part.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-stream-mem.h>
#include "em-utils.h"
#include "em-format/em-format.h"
diff --git a/mail/em-inline-filter.h b/mail/em-inline-filter.h
index ac1779f..11aaa7f 100644
--- a/mail/em-inline-filter.h
+++ b/mail/em-inline-filter.h
@@ -24,9 +24,7 @@
#ifndef EM_INLINE_FILTER_H
#define EM_INLINE_FILTER_H
-#include <camel/camel-mime-filter.h>
-#include <camel/camel-mime-utils.h>
-#include <camel/camel-multipart.h>
+#include <camel/camel.h>
#define EM_INLINE_FILTER_TYPE (em_inline_filter_get_type ())
#define EM_INLINE_FILTER(obj) (CAMEL_CHECK_CAST((obj), EM_INLINE_FILTER_TYPE, EMInlineFilter))
diff --git a/mail/em-junk.h b/mail/em-junk.h
index 79493ca..978f5ec 100644
--- a/mail/em-junk.h
+++ b/mail/em-junk.h
@@ -25,9 +25,8 @@
#ifndef EM_JUNK_H
#define EM_JUNK_H
+#include <camel/camel.h>
#include <e-util/e-plugin.h>
-#include <camel/camel-junk-plugin.h>
-#include <camel/camel-mime-message.h>
#define EM_JUNK_ERROR (em_junk_error_quark ())
diff --git a/mail/em-subscribe-editor.c b/mail/em-subscribe-editor.c
index 4211fda..6485af4 100644
--- a/mail/em-subscribe-editor.c
+++ b/mail/em-subscribe-editor.c
@@ -30,9 +30,6 @@
#include "mail-ops.h"
#include "mail-mt.h"
/*#include "mail-folder-cache.h"*/
-#include "camel/camel-exception.h"
-#include "camel/camel-store.h"
-#include "camel/camel-session.h"
#include "e-util/e-util.h"
#include "e-util/e-account-utils.h"
diff --git a/mail/em-sync-stream.c b/mail/em-sync-stream.c
index 982a56c..780ae9d 100644
--- a/mail/em-sync-stream.c
+++ b/mail/em-sync-stream.c
@@ -29,7 +29,6 @@
#include <stdio.h>
#include <string.h>
-#include <camel/camel-object.h>
#include <libedataserver/e-flag.h>
#include "mail-mt.h"
diff --git a/mail/em-sync-stream.h b/mail/em-sync-stream.h
index 3d74a02..b8684ac 100644
--- a/mail/em-sync-stream.h
+++ b/mail/em-sync-stream.h
@@ -31,7 +31,7 @@ requests are always handled in the main gui thread in the correct order.
#define EM_SYNC_STREAM_H
#include <glib.h>
-#include <camel/camel-stream.h>
+#include <camel/camel.h>
#define EM_SYNC_STREAM_TYPE \
(em_sync_stream_get_type ())
diff --git a/mail/em-utils.c b/mail/em-utils.c
index a26b610..8c83382 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -42,11 +42,6 @@
#undef interface
#endif
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-url-scanner.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-string-utils.h>
-
#include <libebook/e-book.h>
#include "em-filter-editor.h"
@@ -542,10 +537,6 @@ em_utils_flag_for_followup_completed (GtkWindow *parent, CamelFolder *folder, GP
em_utils_uids_free (uids);
}
-#include "camel/camel-stream-mem.h"
-#include "camel/camel-stream-filter.h"
-#include "camel/camel-mime-filter-from.h"
-
/* This kind of sucks, because for various reasons most callers need to run synchronously
in the gui thread, however this could take a long, blocking time, to run */
static gint
diff --git a/mail/em-utils.h b/mail/em-utils.h
index 1bbde20..1fde390 100644
--- a/mail/em-utils.h
+++ b/mail/em-utils.h
@@ -25,12 +25,7 @@
#include <gtk/gtk.h>
#include <sys/types.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-internet-address.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-stream.h>
+#include <camel/camel.h>
#include <mail/e-mail-reader.h>
#include <mail/em-folder-tree.h>
diff --git a/mail/em-vfolder-rule.c b/mail/em-vfolder-rule.c
index d151c47..e32d319 100644
--- a/mail/em-vfolder-rule.c
+++ b/mail/em-vfolder-rule.c
@@ -30,7 +30,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
-#include "camel/camel-url.h"
#include "em-vfolder-context.h"
#include "em-vfolder-rule.h"
#include "mail/e-mail-store.h"
diff --git a/mail/importers/elm-importer.c b/mail/importers/elm-importer.c
index e18da45..c9ddcf7 100644
--- a/mail/importers/elm-importer.c
+++ b/mail/importers/elm-importer.c
@@ -38,8 +38,6 @@
#include <gconf/gconf-client.h>
-#include <camel/camel-operation.h>
-
#include "mail-importer.h"
#include "mail/mail-mt.h"
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 2cd8c98..758b8a8 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -38,8 +38,6 @@
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <camel/camel-exception.h>
-
#include "shell/e-shell.h"
#include "shell/e-shell-window.h"
#include "shell/e-shell-view.h"
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index f61ce26..2f2a7f5 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -35,14 +35,7 @@
#include <glib.h>
#include <glib/gstdio.h>
-
#include <glib/gi18n.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-store.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-mime-parser.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-stream-mem.h>
#include "e-util/e-util-private.h"
#include "shell/e-shell-backend.h"
diff --git a/mail/importers/mail-importer.h b/mail/importers/mail-importer.h
index 7758c0e..5f2f8c8 100644
--- a/mail/importers/mail-importer.h
+++ b/mail/importers/mail-importer.h
@@ -25,7 +25,7 @@
#define __MAIL_IMPORTER_H__
#include <e-util/e-import.h>
-#include <camel/camel-folder.h>
+#include <camel/camel.h>
EImportImporter *mbox_importer_peek(void);
diff --git a/mail/importers/pine-importer.c b/mail/importers/pine-importer.c
index 873fc93..07b7f22 100644
--- a/mail/importers/pine-importer.c
+++ b/mail/importers/pine-importer.c
@@ -41,8 +41,6 @@
#include <libebook/e-book.h>
#include <libebook/e-destination.h>
-#include <camel/camel-operation.h>
-
#include "mail-importer.h"
#include "mail/mail-mt.h"
diff --git a/mail/mail-autofilter.c b/mail/mail-autofilter.c
index dd6e64a..dd0423a 100644
--- a/mail/mail-autofilter.c
+++ b/mail/mail-autofilter.c
@@ -47,9 +47,6 @@
#include "filter/e-filter-option.h"
#include "filter/e-filter-input.h"
-#include <camel/camel-internet-address.h>
-#include <camel/camel-mime-message.h>
-
#define d(x)
static void
diff --git a/mail/mail-autofilter.h b/mail/mail-autofilter.h
index fb474ab..2d14120 100644
--- a/mail/mail-autofilter.h
+++ b/mail/mail-autofilter.h
@@ -24,7 +24,7 @@
#ifndef _MAIL_AUTOFILTER_H
#define _MAIL_AUTOFILTER_H
-#include <camel/camel-mime-message.h>
+#include <camel/camel.h>
#include <filter/e-filter-rule.h>
#include <mail/em-filter-context.h>
diff --git a/mail/mail-config.h b/mail/mail-config.h
index dc55403..65dd861 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -24,7 +24,7 @@
#define MAIL_CONFIG_H
#include <gtk/gtk.h>
-#include <camel/camel-provider.h>
+#include <camel/camel.h>
#include <libedataserver/e-account.h>
#include <libedataserver/e-account-list.h>
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index b1a332d..822afa3 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -41,17 +41,10 @@
#include <time.h>
#include <glib.h>
+#include <glib/gi18n.h>
#include <glib-object.h>
#include <glib/gstdio.h>
-#include <glib/gi18n.h>
-#include <camel/camel-store.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-vtrash-folder.h>
-#include <camel/camel-vee-store.h>
-#include <camel/camel-offline-store.h>
-#include <camel/camel-disco-store.h>
-
#include <libedataserver/e-data-server-util.h>
#include "e-util/e-marshal.h"
#include "e-util/e-util.h"
diff --git a/mail/mail-folder-cache.h b/mail/mail-folder-cache.h
index dd3a108..de6f905 100644
--- a/mail/mail-folder-cache.h
+++ b/mail/mail-folder-cache.h
@@ -27,7 +27,7 @@
#define _MAIL_FOLDER_CACHE_H
#include <glib-object.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
G_BEGIN_DECLS
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index eefbd6d..0af59cb 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -27,9 +27,6 @@
#include <libedataserver/e-flag.h>
-#include <camel/camel-object.h>
-#include <camel/camel-operation.h>
-
#include "shell/e-shell.h"
#include "e-util/e-alert-activity.h"
#include "e-util/e-alert-dialog.h"
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index 2e8828c..5cfbf2a 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -23,8 +23,7 @@
#ifndef _MAIL_MT
#define _MAIL_MT
-#include "camel/camel-exception.h"
-#include "camel/camel-operation.h"
+#include <camel/camel.h>
typedef struct _MailMsg MailMsg;
typedef struct _MailMsgInfo MailMsgInfo;
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 7cbb91b..c147d22 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -33,17 +33,6 @@
#include <glib/gstdio.h>
#include <glib/gi18n.h>
-#include <camel/camel-disco-folder.h>
-#include <camel/camel-disco-store.h>
-#include <camel/camel-mime-filter-from.h>
-#include <camel/camel-offline-folder.h>
-#include <camel/camel-offline-store.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-stream-vfs.h>
-#include <camel/camel-transport.h>
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-vee-store.h>
-
#include <libedataserver/e-data-server-util.h>
#include "e-util/e-account-utils.h"
diff --git a/mail/mail-ops.h b/mail/mail-ops.h
index 843ada5..506de4c 100644
--- a/mail/mail-ops.h
+++ b/mail/mail-ops.h
@@ -26,15 +26,10 @@
G_BEGIN_DECLS
-#include "mail-mt.h"
-
-#include "camel/camel-store.h"
-#include "camel/camel-folder.h"
-#include "camel/camel-filter-driver.h"
-#include "camel/camel-mime-message.h"
-#include "camel/camel-operation.h"
+#include <camel/camel.h>
+#include <libedataserver/e-account.h>
-#include "libedataserver/e-account.h"
+#include "mail-mt.h"
void mail_append_mail (CamelFolder *folder, CamelMimeMessage *message, CamelMessageInfo *info,
void (*done)(CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *info, gint ok,
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index d66f2ab..4ffe4fd 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -31,11 +31,6 @@
#include "libedataserver/e-account-list.h"
-#include "camel/camel-filter-driver.h"
-#include "camel/camel-folder.h"
-#include "camel/camel-operation.h"
-#include "camel/camel-store.h"
-
#include "shell/e-shell.h"
#include "e-util/e-account-utils.h"
#include "e-util/gconf-bridge.h"
diff --git a/mail/mail-send-recv.h b/mail/mail-send-recv.h
index 2155a96..db144e2 100644
--- a/mail/mail-send-recv.h
+++ b/mail/mail-send-recv.h
@@ -24,7 +24,7 @@
#define MAIL_SEND_RECV_H
#include <gtk/gtk.h>
-#include <camel/camel-session.h>
+#include <camel/camel.h>
#include <shell/e-shell-backend.h>
G_BEGIN_DECLS
diff --git a/mail/mail-session.c b/mail/mail-session.c
index a98857a..84b6c8e 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -44,9 +44,6 @@
#include <libedataserverui/e-passwords.h>
#include <libedataserver/e-flag.h>
-#include <camel/camel.h> /* FIXME: this is where camel_init is defined, it shouldn't include everything else */
-#include <camel/camel-filter-driver.h>
-
#include "e-util/e-util.h"
#include "e-util/e-alert-dialog.h"
#include "e-util/e-util-private.h"
diff --git a/mail/mail-session.h b/mail/mail-session.h
index ff3ee49..22dc792 100644
--- a/mail/mail-session.h
+++ b/mail/mail-session.h
@@ -24,7 +24,7 @@
#define MAIL_SESSION_H
#include <glib.h>
-#include <camel/camel-session.h>
+#include <camel/camel.h>
G_BEGIN_DECLS
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index f006b1b..7ccf50c 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -36,10 +36,6 @@
#include <glib/gi18n.h>
-#include <camel/camel-store.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-movemail.h>
-
#include "em-utils.h"
#include "mail-folder-cache.h"
#include "mail-session.h"
diff --git a/mail/mail-tools.h b/mail/mail-tools.h
index ceb3ce8..544c360 100644
--- a/mail/mail-tools.h
+++ b/mail/mail-tools.h
@@ -24,8 +24,7 @@
#define MAIL_TOOLS_H
#include <glib.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-mime-message.h>
+#include <camel/camel.h>
/* Get the "inbox" for a url (uses global session) */
CamelFolder *mail_tool_get_inbox (const gchar *url, CamelException *ex);
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index 2fe7a03..700baed 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -27,9 +27,6 @@
#include <glib/gi18n.h>
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-vee-store.h>
-#include <camel/camel-vtrash-folder.h>
#include <libedataserver/e-account-list.h>
#include "e-util/e-alert-dialog.h"
diff --git a/mail/mail-vfolder.h b/mail/mail-vfolder.h
index a70cdd8..84b6a41 100644
--- a/mail/mail-vfolder.h
+++ b/mail/mail-vfolder.h
@@ -22,8 +22,7 @@
#ifndef _MAIL_VFOLDER_H
#define _MAIL_VFOLDER_H
-#include <camel/camel-internet-address.h>
-#include <camel/camel-mime-message.h>
+#include <camel/camel.h>
#include <filter/e-filter-part.h>
#include <filter/e-filter-rule.h>
diff --git a/mail/message-list.c b/mail/message-list.c
index 657ec02..2c1422b 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -36,14 +36,6 @@
#include <gconf/gconf-client.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-folder-thread.h>
-#include <camel/camel-folder-summary.h>
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-string-utils.h>
-
#include "e-util/e-icon-factory.h"
#include "e-util/e-poolv.h"
#include "e-util/e-profile-event.h"
diff --git a/mail/message-list.h b/mail/message-list.h
index a817047..0b46e8e 100644
--- a/mail/message-list.h
+++ b/mail/message-list.h
@@ -24,11 +24,9 @@
#define _MESSAGE_LIST_H_
#include <gtk/gtk.h>
-#include <camel/camel-folder-thread.h>
+#include <camel/camel.h>
#include <table/e-tree.h>
-
-#include <camel/camel-folder.h>
#include <shell/e-shell-backend.h>
G_BEGIN_DECLS
diff --git a/modules/calendar/Makefile.am b/modules/calendar/Makefile.am
index bbabb6c..0beb128 100644
--- a/modules/calendar/Makefile.am
+++ b/modules/calendar/Makefile.am
@@ -7,6 +7,7 @@ libevolution_module_calendar_la_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/widgets \
-DEVOLUTION_ETSPECDIR=\""$(etspecdir)"\" \
+ $(CAMEL_CFLAGS) \
$(GNOME_PLATFORM_CFLAGS) \
$(EVOLUTION_CALENDAR_CFLAGS)
diff --git a/modules/calendar/e-cal-attachment-handler.c b/modules/calendar/e-cal-attachment-handler.c
index b532af8..acf975c 100644
--- a/modules/calendar/e-cal-attachment-handler.c
+++ b/modules/calendar/e-cal-attachment-handler.c
@@ -24,7 +24,7 @@
#include <glib/gi18n.h>
#include <libical/ical.h>
#include <libecal/e-cal.h>
-#include <camel/camel-stream-mem.h>
+#include <camel/camel.h>
#include <libedataserverui/e-source-selector.h>
#include "calendar/common/authentication.h"
diff --git a/modules/calendar/e-memo-shell-migrate.c b/modules/calendar/e-memo-shell-migrate.c
index 3c52672..771a889 100644
--- a/modules/calendar/e-memo-shell-migrate.c
+++ b/modules/calendar/e-memo-shell-migrate.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <glib/gi18n.h>
-#include <camel/camel-url.h>
+#include <camel/camel.h>
#include <libedataserver/e-account.h>
#include <libedataserver/e-account-list.h>
#include <libedataserver/e-source.h>
diff --git a/modules/mail/e-mail-attachment-handler.c b/modules/mail/e-mail-attachment-handler.c
index 166522a..f27a107 100644
--- a/modules/mail/e-mail-attachment-handler.c
+++ b/modules/mail/e-mail-attachment-handler.c
@@ -22,8 +22,6 @@
#include "e-mail-attachment-handler.h"
#include <glib/gi18n.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-stream-mem.h>
#include "e-util/e-alert-dialog.h"
#include "mail/em-composer-utils.h"
diff --git a/modules/mail/e-mail-junk-hook.c b/modules/mail/e-mail-junk-hook.c
index f17290f..ae87df1 100644
--- a/modules/mail/e-mail-junk-hook.c
+++ b/modules/mail/e-mail-junk-hook.c
@@ -22,7 +22,6 @@
#include "e-mail-junk-hook.h"
#include <glib/gi18n.h>
-#include <camel/camel-junk-plugin.h>
#include "e-util/e-alert-dialog.h"
#include "shell/e-shell.h"
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index b3eb0a9..105b552 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -22,10 +22,6 @@
#include "e-mail-shell-backend.h"
#include <glib/gi18n.h>
-#include <camel/camel-disco-store.h>
-#include <camel/camel-offline-store.h>
-#include <camel/camel-session.h>
-#include <camel/camel-url.h>
#include "e-util/e-account-utils.h"
#include "e-util/e-binding.h"
diff --git a/modules/mail/e-mail-shell-backend.h b/modules/mail/e-mail-shell-backend.h
index 36f4064..031efab 100644
--- a/modules/mail/e-mail-shell-backend.h
+++ b/modules/mail/e-mail-shell-backend.h
@@ -24,8 +24,6 @@
#include <mail/e-mail-backend.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-store.h>
#include <e-util/e-signature-list.h>
#include <libedataserver/e-account-list.h>
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c
index 2113dde..7bfced1 100644
--- a/modules/mail/e-mail-shell-content.c
+++ b/modules/mail/e-mail-shell-content.c
@@ -22,7 +22,6 @@
#include "e-mail-shell-content.h"
#include <glib/gi18n.h>
-#include <camel/camel-store.h>
#include <libedataserver/e-data-server-util.h>
#include "e-util/e-util-private.h"
diff --git a/modules/mail/e-mail-shell-view-private.h b/modules/mail/e-mail-shell-view-private.h
index de237af..a8a86c5 100644
--- a/modules/mail/e-mail-shell-view-private.h
+++ b/modules/mail/e-mail-shell-view-private.h
@@ -26,12 +26,6 @@
#include <glib/gi18n.h>
#include <gtkhtml/gtkhtml.h>
-#include <camel/camel-disco-store.h>
-#include <camel/camel-offline-store.h>
-#include <camel/camel-operation.h>
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-vee-store.h>
-#include <camel/camel-vtrash-folder.h>
#include <camel/camel-search-private.h> /* for camel_search_word */
#include "e-util/e-util.h"
diff --git a/modules/mail/em-account-prefs.c b/modules/mail/em-account-prefs.c
index df1cdee..0ac397f 100644
--- a/modules/mail/em-account-prefs.c
+++ b/modules/mail/em-account-prefs.c
@@ -30,8 +30,6 @@
#include <config.h>
#endif
-#include <camel/camel-url.h>
-
#include <glib/gi18n.h>
#include "e-util/e-alert-dialog.h"
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c
index 53a9888..c817653 100644
--- a/modules/mail/em-composer-prefs.c
+++ b/modules/mail/em-composer-prefs.c
@@ -37,8 +37,6 @@
#include "em-composer-prefs.h"
#include "composer/e-msg-composer.h"
-#include <camel/camel-iconv.h>
-
#include <glib/gi18n.h>
#include <glib/gstdio.h>
diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c
index f32fbbf..fb34805 100644
--- a/modules/mail/em-mailer-prefs.c
+++ b/modules/mail/em-mailer-prefs.c
@@ -30,7 +30,6 @@
#include "em-mailer-prefs.h"
#include "em-format/em-format.h"
-#include <camel/camel-iconv.h>
#include <gtkhtml/gtkhtml-properties.h>
#include <libxml/tree.h>
diff --git a/plugins/attachment-reminder/attachment-reminder.c b/plugins/attachment-reminder/attachment-reminder.c
index ee17785..b74406b 100644
--- a/plugins/attachment-reminder/attachment-reminder.c
+++ b/plugins/attachment-reminder/attachment-reminder.c
@@ -30,14 +30,6 @@
#include <e-util/e-config.h>
#include <mail/em-config.h>
#include <mail/em-event.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-multipart.h>
#include <e-util/e-alert-dialog.h>
#include <e-util/e-plugin.h>
diff --git a/plugins/audio-inline/audio-inline.c b/plugins/audio-inline/audio-inline.c
index 9de5512..67e759f 100644
--- a/plugins/audio-inline/audio-inline.c
+++ b/plugins/audio-inline/audio-inline.c
@@ -27,10 +27,6 @@
#include <gtk/gtk.h>
#include <glib/gstdio.h>
#include "e-util/e-mktemp.h"
-#include "camel/camel-medium.h"
-#include "camel/camel-mime-part.h"
-#include "camel/camel-stream.h"
-#include "camel/camel-stream-fs.h"
#include "mail/em-format-hook.h"
#include "mail/em-format-html.h"
#include "gtkhtml/gtkhtml-embedded.h"
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index 2c88afd..aa11e71 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -34,7 +34,6 @@
#include <e-util/e-config.h>
#include <mail/em-config.h>
#include <mail/em-event.h>
-#include <camel/camel-mime-message.h>
#include <composer/e-msg-composer.h>
#include "bbdb.h"
diff --git a/plugins/bogo-junk-plugin/bf-junk-filter.c b/plugins/bogo-junk-plugin/bf-junk-filter.c
index 6d315da..6c54ad6 100644
--- a/plugins/bogo-junk-plugin/bf-junk-filter.c
+++ b/plugins/bogo-junk-plugin/bf-junk-filter.c
@@ -45,11 +45,6 @@
#include <e-util/e-plugin.h>
#include "mail/em-config.h"
#include <mail/em-junk.h>
-#include <camel/camel-data-wrapper.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-mime-parser.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-debug.h>
#include <gconf/gconf-client.h>
#ifndef BOGOFILTER_BINARY
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c
index 60d3780..c569c2e 100644
--- a/plugins/external-editor/external-editor.c
+++ b/plugins/external-editor/external-editor.c
@@ -31,7 +31,6 @@
#include <mail/mail-config.h>
#include <e-util/e-alert-dialog.h>
#include <e-msg-composer.h>
-#include <camel/camel-mime-filter-tohtml.h>
#include <glib/gi18n-lib.h>
#include <glib-object.h>
diff --git a/plugins/groupwise-features/camel-gw-listener.c b/plugins/groupwise-features/camel-gw-listener.c
index 197553a..17d904b 100644
--- a/plugins/groupwise-features/camel-gw-listener.c
+++ b/plugins/groupwise-features/camel-gw-listener.c
@@ -27,6 +27,7 @@
#include "camel-gw-listener.h"
#include <string.h>
#include <glib/gi18n.h>
+#include <camel/camel.h>
#include <e-gw-connection.h>
#include <libedataserverui/e-passwords.h>
#include "e-util/e-alert-dialog.h"
diff --git a/plugins/groupwise-features/camel-gw-listener.h b/plugins/groupwise-features/camel-gw-listener.h
index 1c4cedb..cc545de 100644
--- a/plugins/groupwise-features/camel-gw-listener.h
+++ b/plugins/groupwise-features/camel-gw-listener.h
@@ -27,7 +27,6 @@
#include <libedataserver/e-account-list.h>
#include<libedataserver/e-source.h>
#include<libedataserver/e-source-list.h>
-#include <camel/camel-url.h>
G_BEGIN_DECLS
diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c
index b570d64..a3ea9be 100644
--- a/plugins/groupwise-features/install-shared.c
+++ b/plugins/groupwise-features/install-shared.c
@@ -33,17 +33,9 @@
#include <shell/e-shell.h>
#include <mail/em-config.h>
#include <mail/em-event.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-session.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-data-wrapper.h>
-#include <camel/camel-multipart.h>
#include <mail/em-folder-tree.h>
#include <mail/mail-config.h>
#include <mail/em-folder-selector.h>
-#include <camel/camel-medium.h>
#include <e-gw-connection.h>
#include <share-folder.h>
diff --git a/plugins/groupwise-features/junk-settings.h b/plugins/groupwise-features/junk-settings.h
index d4b59ae..2e67b8c 100644
--- a/plugins/groupwise-features/junk-settings.h
+++ b/plugins/groupwise-features/junk-settings.h
@@ -25,7 +25,6 @@
#define __JUNK_SETTINGS_H__
#include <gtk/gtk.h>
-#include <camel/camel-store.h>
#include <e-gw-connection.h>
#define _JUNK_SETTINGS_TYPE (junk_settings_get_type ())
diff --git a/plugins/groupwise-features/mail-retract.c b/plugins/groupwise-features/mail-retract.c
index 3de31b6..17d5c7a 100644
--- a/plugins/groupwise-features/mail-retract.c
+++ b/plugins/groupwise-features/mail-retract.c
@@ -26,8 +26,6 @@
#include <glib/gi18n-lib.h>
#include <e-gw-connection.h>
-#include <camel/camel-store.h>
-#include <camel/camel-folder.h>
#include <e-util/e-alert-dialog.h>
diff --git a/plugins/groupwise-features/proxy-login.c b/plugins/groupwise-features/proxy-login.c
index bf23e17..23a5339 100644
--- a/plugins/groupwise-features/proxy-login.c
+++ b/plugins/groupwise-features/proxy-login.c
@@ -34,8 +34,6 @@
#include <mail/mail-config.h>
#include <mail/em-folder-selector.h>
#include <mail/em-account-editor.h>
-#include <camel/camel-url.h>
-#include <camel/camel-store.h>
#include <mail/mail-ops.h>
#include <libedataserver/e-account.h>
#include <e-util/e-util.h>
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index 0f761c7..2d97684 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -45,8 +45,6 @@
#include <libedataserver/e-account-list.h>
#include <e-util/e-icon-factory.h>
-#include <camel/camel-url.h>
-#include <camel/camel-offline-store.h>
#include <libedataserverui/e-passwords.h>
#include <libedataserverui/e-name-selector.h>
#include <proxy.h>
diff --git a/plugins/groupwise-features/send-options.c b/plugins/groupwise-features/send-options.c
index 6e75f91..e20be73 100644
--- a/plugins/groupwise-features/send-options.c
+++ b/plugins/groupwise-features/send-options.c
@@ -33,7 +33,6 @@
#include <misc/e-send-options.h>
#include <mail/em-config.h>
#include <e-gw-connection.h>
-#include <camel/camel-url.h>
#include <libecal/e-cal-time-util.h>
#include <libedataserver/e-source-list.h>
#include <libedataserverui/e-passwords.h>
diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c
index 992664f..41dde5a 100644
--- a/plugins/groupwise-features/share-folder-common.c
+++ b/plugins/groupwise-features/share-folder-common.c
@@ -38,11 +38,6 @@
#include <mail/mail-vfolder.h>
#include <mail/em-vfolder-rule.h>
#include <filter/e-filter-rule.h>
-#include <camel/camel-store.h>
-#include <camel/camel-session.h>
-#include <camel/camel-store.h>
-#include <camel/camel-vee-store.h>
-#include <camel/camel-folder.h>
#include <e-gw-container.h>
#include <e-gw-connection.h>
#include <shell/e-shell-sidebar.h>
diff --git a/plugins/groupwise-features/share-folder.h b/plugins/groupwise-features/share-folder.h
index 138266c..4df979d 100644
--- a/plugins/groupwise-features/share-folder.h
+++ b/plugins/groupwise-features/share-folder.h
@@ -25,7 +25,7 @@
#define __SHARE_FOLDER_H__
#include <gtk/gtk.h>
-#include <camel/camel-store.h>
+#include <camel/camel.h>
#include <e-gw-connection.h>
#include <libedataserverui/e-name-selector.h>
diff --git a/plugins/groupwise-features/status-track.c b/plugins/groupwise-features/status-track.c
index d8cddd0..2a4f304 100644
--- a/plugins/groupwise-features/status-track.c
+++ b/plugins/groupwise-features/status-track.c
@@ -32,11 +32,6 @@
#include <time.h>
#include <gtk/gtk.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-mime-utils.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-message.h>
-
#include <mail/e-mail-reader.h>
#include <mail/em-utils.h>
#include <mail/message-list.h>
diff --git a/plugins/hula-account-setup/camel-hula-listener.c b/plugins/hula-account-setup/camel-hula-listener.c
index c54ba99..68e7c65 100644
--- a/plugins/hula-account-setup/camel-hula-listener.c
+++ b/plugins/hula-account-setup/camel-hula-listener.c
@@ -26,6 +26,7 @@
#include <string.h>
#include <glib/gi18n.h>
+#include <camel/camel.h>
#include <libedataserverui/e-passwords.h>
#include <libedataserver/e-account.h>
#include "camel-hula-listener.h"
diff --git a/plugins/hula-account-setup/camel-hula-listener.h b/plugins/hula-account-setup/camel-hula-listener.h
index 97c1b33..3915e4a 100644
--- a/plugins/hula-account-setup/camel-hula-listener.h
+++ b/plugins/hula-account-setup/camel-hula-listener.h
@@ -27,7 +27,6 @@
#include <libedataserver/e-account-list.h>
#include<libedataserver/e-source.h>
#include<libedataserver/e-source-list.h>
-#include <camel/camel-url.h>
G_BEGIN_DECLS
diff --git a/plugins/image-inline/image-inline.c b/plugins/image-inline/image-inline.c
index 5ea1070..be9e025 100644
--- a/plugins/image-inline/image-inline.c
+++ b/plugins/image-inline/image-inline.c
@@ -26,9 +26,6 @@
#include <stdlib.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-stream-mem.h>
#include <gtkhtml/gtkhtml-embedded.h>
#include <gtkimageview/gtkimagescrollwin.h>
diff --git a/plugins/imap-features/imap-headers.c b/plugins/imap-features/imap-headers.c
index df567aa..4d7b1df 100644
--- a/plugins/imap-features/imap-headers.c
+++ b/plugins/imap-features/imap-headers.c
@@ -34,9 +34,6 @@
#include <e-util/e-util.h>
#include <e-util/e-account-utils.h>
-#include <camel/camel-url.h>
-#include <camel/camel-exception.h>
-
#include <glib/gi18n.h>
typedef struct _epif_data EPImapFeaturesData;
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index f5c727b..eecfcac 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -29,17 +29,6 @@
#include <gtk/gtk.h>
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-utils.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-vee-folder.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-service.h>
-#include <camel/camel-store.h>
-#include <camel/camel-db.h>
#include <libecal/e-cal.h>
#include <libecal/e-cal-time-util.h>
#include <libedataserverui/e-source-selector.h>
diff --git a/plugins/itip-formatter/itip-view.c b/plugins/itip-formatter/itip-view.c
index f4368dd..83d3146 100644
--- a/plugins/itip-formatter/itip-view.c
+++ b/plugins/itip-formatter/itip-view.c
@@ -27,10 +27,6 @@
#include <string.h>
#include <glib/gi18n.h>
#include <gconf/gconf-client.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-message.h>
#include <libedataserver/e-time-utils.h>
#include <libedataserver/e-data-server-util.h>
#include <libedataserverui/e-source-combo-box.h>
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c
index 72e3881..2b0d768 100644
--- a/plugins/mail-notification/mail-notification.c
+++ b/plugins/mail-notification/mail-notification.c
@@ -39,8 +39,6 @@
#include <time.h>
-#include <camel/camel-folder.h>
-
#include <e-util/e-binding.h>
#include <e-util/e-config.h>
#include <e-util/gconf-bridge.h>
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c
index 17bc6a9..904fe23 100644
--- a/plugins/mail-to-task/mail-to-task.c
+++ b/plugins/mail-to-task/mail-to-task.c
@@ -38,14 +38,6 @@
#include <libedataserver/e-account.h>
#include <libedataserverui/e-source-selector-dialog.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-stream.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-utf8.h>
-
#include <mail/e-mail-browser.h>
#include <mail/em-utils.h>
#include <mail/em-format-html.h>
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c
index 699ec1e..2ed27c3 100644
--- a/plugins/mailing-list-actions/mailing-list-actions.c
+++ b/plugins/mailing-list-actions/mailing-list-actions.c
@@ -30,10 +30,6 @@
#include <gtk/gtk.h>
#include <gconf/gconf-client.h>
-#include "camel/camel-multipart.h"
-#include "camel/camel-mime-part.h"
-#include "camel/camel-exception.h"
-#include "camel/camel-folder.h"
#include "composer/e-msg-composer.h"
#include "mail/e-mail-browser.h"
#include "mail/e-mail-reader.h"
diff --git a/plugins/mark-all-read/mark-all-read.c b/plugins/mark-all-read/mark-all-read.c
index 24bc485..756ced9 100644
--- a/plugins/mark-all-read/mark-all-read.c
+++ b/plugins/mark-all-read/mark-all-read.c
@@ -32,7 +32,6 @@
#include <mail/em-folder-tree.h>
#include <mail/mail-ops.h>
#include <mail/mail-mt.h>
-#include <camel/camel-vee-folder.h>
#include <shell/e-shell-sidebar.h>
#include <shell/e-shell-view.h>
diff --git a/plugins/prefer-plain/prefer-plain.c b/plugins/prefer-plain/prefer-plain.c
index edfc8ff..7a3417b 100644
--- a/plugins/prefer-plain/prefer-plain.c
+++ b/plugins/prefer-plain/prefer-plain.c
@@ -30,9 +30,6 @@
#include <string.h>
#include <stdio.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-mime-part.h>
-
#include <em-format/em-format.h>
#include <mail/em-config.h>
#include <mail/em-format-hook.h>
diff --git a/plugins/pst-import/Makefile.am b/plugins/pst-import/Makefile.am
index 68c8a19..0c6c89b 100644
--- a/plugins/pst-import/Makefile.am
+++ b/plugins/pst-import/Makefile.am
@@ -22,7 +22,8 @@ liborg_gnome_pst_import_la_CPPFLAGS = \
$(GNOME_PLATFORM_CFLAGS) \
$(EVOLUTION_CFLAGS) \
$(EVOLUTION_CALENDAR_CFLAGS) \
- $(LIBPST_CFLAGS)
+ $(LIBPST_CFLAGS) \
+ $(CAMEL_CFLAGS)
liborg_gnome_pst_import_la_SOURCES = pst-importer.c
@@ -35,7 +36,8 @@ liborg_gnome_pst_import_la_LIBADD = \
$(EVOLUTION_CALENDAR_LIBS) \
$(EVOLUTION_MAIL_LIBS) \
$(GNOME_PLATFORM_LIBS) \
- $(LIBPST_LIBS)
+ $(LIBPST_LIBS) \
+ $(CAMEL_LIBS)
EXTRA_DIST = org-gnome-pst-import.eplug.xml
diff --git a/plugins/pst-import/pst-importer.c b/plugins/pst-import/pst-importer.c
index fa0b61e..9def7b9 100644
--- a/plugins/pst-import/pst-importer.c
+++ b/plugins/pst-import/pst-importer.c
@@ -52,16 +52,6 @@
#include <libedataserver/e-data-server-util.h>
#include <libedataserverui/e-source-selector-dialog.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-store.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-data-wrapper.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-file-utils.h>
-
#include <mail/e-mail-local.h>
#include <mail/mail-mt.h>
#include <mail/mail-tools.h>
diff --git a/plugins/sa-junk-plugin/em-junk-filter.c b/plugins/sa-junk-plugin/em-junk-filter.c
index 082e27f..15b3234 100644
--- a/plugins/sa-junk-plugin/em-junk-filter.c
+++ b/plugins/sa-junk-plugin/em-junk-filter.c
@@ -34,12 +34,6 @@
#include <signal.h>
#include <time.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-debug.h>
-#include <camel/camel-file-utils.h>
-#include <camel/camel-data-wrapper.h>
-#include <camel/camel-stream-fs.h>
-#include <camel/camel-stream-mem.h>
#include <mail/em-junk.h>
#include <mail/em-utils.h>
#include <e-util/e-mktemp.h>
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index b88e26d..cd3d682 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -30,10 +30,6 @@
#include <gconf/gconf-client.h>
#include <e-util/e-config.h>
-#include <camel/camel-url.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-string-utils.h>
#include <mail/e-mail-local.h>
#include <mail/e-mail-reader.h>
diff --git a/plugins/tnef-attachments/tnef-plugin.c b/plugins/tnef-attachments/tnef-plugin.c
index 4c02457..cb9752e 100644
--- a/plugins/tnef-attachments/tnef-plugin.c
+++ b/plugins/tnef-attachments/tnef-plugin.c
@@ -40,12 +40,6 @@
#include <libytnef/ytnef.h>
#endif
-#include <camel/camel-mime-part.h>
-#include <camel/camel-folder.h>
-#include <camel/camel-exception.h>
-#include <camel/camel-multipart.h>
-#include <camel/camel-stream-fs.h>
-
#include <em-format/em-format.h>
#include <mail/em-format-hook.h>
#include <mail/em-utils.h>
diff --git a/plugins/vcard-inline/vcard-inline.c b/plugins/vcard-inline/vcard-inline.c
index 0aafc8c..64cb423 100644
--- a/plugins/vcard-inline/vcard-inline.c
+++ b/plugins/vcard-inline/vcard-inline.c
@@ -24,9 +24,6 @@
#include <glib/gi18n-lib.h>
#include <libebook/e-book.h>
#include <libebook/e-contact.h>
-#include <camel/camel-medium.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-stream-mem.h>
#include <gtkhtml/gtkhtml-embedded.h>
#include "addressbook/gui/merging/eab-contact-merging.h"
diff --git a/widgets/misc/e-account-combo-box.c b/widgets/misc/e-account-combo-box.c
index 0ded393..e850efb 100644
--- a/widgets/misc/e-account-combo-box.c
+++ b/widgets/misc/e-account-combo-box.c
@@ -22,7 +22,6 @@
#include "e-account-combo-box.h"
#include <string.h>
-#include <camel/camel-store.h>
#define E_ACCOUNT_COMBO_BOX_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
diff --git a/widgets/misc/e-account-combo-box.h b/widgets/misc/e-account-combo-box.h
index 12d4be6..3c442f1 100644
--- a/widgets/misc/e-account-combo-box.h
+++ b/widgets/misc/e-account-combo-box.h
@@ -23,7 +23,7 @@
#define E_ACCOUNT_COMBO_BOX_H
#include <gtk/gtk.h>
-#include <camel/camel-session.h>
+#include <camel/camel.h>
#include <libedataserver/e-account.h>
#include <libedataserver/e-account-list.h>
diff --git a/widgets/misc/e-account-tree-view.c b/widgets/misc/e-account-tree-view.c
index 8c2e210..9b083a3 100644
--- a/widgets/misc/e-account-tree-view.c
+++ b/widgets/misc/e-account-tree-view.c
@@ -22,7 +22,7 @@
#include "e-account-tree-view.h"
#include <glib/gi18n.h>
-#include <camel/camel-url.h>
+#include <camel/camel.h>
#define E_ACCOUNT_TREE_VIEW_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
diff --git a/widgets/misc/e-attachment-view.c b/widgets/misc/e-attachment-view.c
index 9725604..a52b931 100644
--- a/widgets/misc/e-attachment-view.c
+++ b/widgets/misc/e-attachment-view.c
@@ -24,7 +24,6 @@
#include <config.h>
#include <glib/gi18n.h>
#include <gdk/gdkkeysyms.h>
-#include <camel/camel-stream-mem.h>
#include "e-util/e-binding.h"
#include "e-util/e-selection.h"
diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c
index 4752251..dee4bd2 100644
--- a/widgets/misc/e-attachment.c
+++ b/widgets/misc/e-attachment.c
@@ -25,14 +25,6 @@
#include <config.h>
#include <glib/gi18n.h>
#include <glib/gstdio.h>
-#include <camel/camel-iconv.h>
-#include <camel/camel-data-wrapper.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-stream-filter.h>
-#include <camel/camel-stream-mem.h>
-#include <camel/camel-stream-null.h>
-#include <camel/camel-stream-vfs.h>
-#include <camel/camel-stream-fs.h>
#include <libedataserver/e-data-server-util.h>
diff --git a/widgets/misc/e-attachment.h b/widgets/misc/e-attachment.h
index a6dff74..7cd655c 100644
--- a/widgets/misc/e-attachment.h
+++ b/widgets/misc/e-attachment.h
@@ -23,10 +23,7 @@
#define E_ATTACHMENT_H
#include <gtk/gtk.h>
-#include <camel/camel-cipher-context.h>
-#include <camel/camel-mime-part.h>
-#include <camel/camel-mime-message.h>
-#include <camel/camel-multipart.h>
+#include <camel/camel.h>
/* Standard GObject macros */
#define E_TYPE_ATTACHMENT \
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c
index 7a0dc6d..4ff266f 100644
--- a/widgets/misc/e-web-view.c
+++ b/widgets/misc/e-web-view.c
@@ -25,8 +25,7 @@
#include <string.h>
#include <glib/gi18n-lib.h>
-#include <camel/camel-internet-address.h>
-#include <camel/camel-url.h>
+#include <camel/camel.h>
#include <e-util/e-util.h>
#include <e-util/e-binding.h>
diff --git a/widgets/table/e-table-sorting-utils.c b/widgets/table/e-table-sorting-utils.c
index 8ad797a..c072932 100644
--- a/widgets/table/e-table-sorting-utils.c
+++ b/widgets/table/e-table-sorting-utils.c
@@ -23,8 +23,7 @@
#include <config.h>
#include <string.h>
-
-#include <camel/camel-string-utils.h>
+#include <camel/camel.h>
#include "e-util/e-util.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]