From fe962a2055234adf407999f0557ae25441ca5c35 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Thu, 29 Mar 2001 20:31:40 +0000 Subject: Big header cleanups and nntp compile fix svn path=/trunk/; revision=9024 --- camel/providers/imap/camel-imap-command.c | 3 ++- camel/providers/imap/camel-imap-command.h | 2 +- camel/providers/imap/camel-imap-folder.c | 3 ++- camel/providers/imap/camel-imap-message-cache.c | 2 ++ camel/providers/imap/camel-imap-provider.c | 5 ++++- camel/providers/imap/camel-imap-search.c | 3 ++- camel/providers/imap/camel-imap-store.c | 5 +++-- camel/providers/imap/camel-imap-summary.c | 6 +++--- camel/providers/imap/camel-imap-wrapper.c | 8 +++++--- 9 files changed, 24 insertions(+), 13 deletions(-) (limited to 'camel/providers/imap') diff --git a/camel/providers/imap/camel-imap-command.c b/camel/providers/imap/camel-imap-command.c index b68216782c..36f88917a8 100644 --- a/camel/providers/imap/camel-imap-command.c +++ b/camel/providers/imap/camel-imap-command.c @@ -24,8 +24,9 @@ * */ - +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/camel/providers/imap/camel-imap-command.h b/camel/providers/imap/camel-imap-command.h index 9dd31b88d2..5b841525fa 100644 --- a/camel/providers/imap/camel-imap-command.h +++ b/camel/providers/imap/camel-imap-command.h @@ -33,8 +33,8 @@ extern "C" { #pragma } #endif /* __cplusplus }*/ -#include "camel-imap-types.h" #include +#include "camel-imap-types.h" struct _CamelImapResponse { CamelFolder *folder; diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index 84df6c0321..67739e7e46 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -22,8 +22,9 @@ * USA */ - +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c index a45c039242..474a2f2f80 100644 --- a/camel/providers/imap/camel-imap-message-cache.c +++ b/camel/providers/imap/camel-imap-message-cache.c @@ -23,7 +23,9 @@ * USA */ +#ifdef HAVE_CONFIG_H #include +#endif #include #include diff --git a/camel/providers/imap/camel-imap-provider.c b/camel/providers/imap/camel-imap-provider.c index ce4f30487e..19e72dba5a 100644 --- a/camel/providers/imap/camel-imap-provider.c +++ b/camel/providers/imap/camel-imap-provider.c @@ -22,8 +22,11 @@ * */ +#ifdef HAVE_CONFIG_H +#include +#endif -#include "config.h" +#include #include "camel-imap-store.h" #include "camel-provider.h" #include "camel-session.h" diff --git a/camel/providers/imap/camel-imap-search.c b/camel/providers/imap/camel-imap-search.c index 06cf4a8d30..4b913b10c2 100644 --- a/camel/providers/imap/camel-imap-search.c +++ b/camel/providers/imap/camel-imap-search.c @@ -23,8 +23,9 @@ * */ - +#ifdef HAVE_CONFIG_H #include +#endif #include diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c index daa9871539..40b603acfc 100644 --- a/camel/providers/imap/camel-imap-store.c +++ b/camel/providers/imap/camel-imap-store.c @@ -22,8 +22,9 @@ * */ - +#ifdef HAVE_CONFIG_H #include +#endif #include #include @@ -854,7 +855,7 @@ get_folder (CamelStore *store, const char *folder_name, guint32 flags, if (!selectable) { camel_exception_setv (ex, CAMEL_EXCEPTION_STORE_NO_FOLDER, - "%s is not a selectable folder", + _("%s is not a selectable folder"), folder_name); g_free (short_name); return NULL; diff --git a/camel/providers/imap/camel-imap-summary.c b/camel/providers/imap/camel-imap-summary.c index 34597cfe31..ca7a2ab737 100644 --- a/camel/providers/imap/camel-imap-summary.c +++ b/camel/providers/imap/camel-imap-summary.c @@ -22,9 +22,6 @@ * USA */ -#include "camel-imap-summary.h" -#include - #include #include #include @@ -32,6 +29,9 @@ #include #include +#include "camel-imap-summary.h" +#include + #define CAMEL_IMAP_SUMMARY_VERSION (0x300) static int summary_header_load (CamelFolderSummary *, FILE *); diff --git a/camel/providers/imap/camel-imap-wrapper.c b/camel/providers/imap/camel-imap-wrapper.c index a0e8b963fc..20ad0c730a 100644 --- a/camel/providers/imap/camel-imap-wrapper.c +++ b/camel/providers/imap/camel-imap-wrapper.c @@ -22,7 +22,12 @@ * USA */ +#ifdef HAVE_CONFIG_H #include +#endif + +#include +#include #include "camel-imap-folder.h" #include "camel-imap-wrapper.h" @@ -34,9 +39,6 @@ #include "camel-mime-filter-charset.h" #include "camel-mime-part.h" -#include -#include - static CamelDataWrapperClass *parent_class = NULL; /* Returns the class for a CamelDataWrapper */ -- cgit v1.2.3