aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
Diffstat (limited to 'libemail-engine')
-rw-r--r--libemail-engine/e-mail-session.c4
-rw-r--r--libemail-engine/e-mail-utils.c12
-rw-r--r--libemail-engine/mail-folder-cache.h15
3 files changed, 12 insertions, 19 deletions
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c
index 012ad9ba7d..46ed515675 100644
--- a/libemail-engine/e-mail-session.c
+++ b/libemail-engine/e-mail-session.c
@@ -228,7 +228,7 @@ main_get_filter_driver (CamelSession *session,
GError **error)
{
CamelFilterDriver *driver;
- EMailSession *ms = (EMailSession *)session;
+ EMailSession *ms = (EMailSession *) session;
GSettings *settings;
settings = g_settings_new ("org.gnome.evolution.mail");
@@ -1460,7 +1460,6 @@ e_mail_session_class_init (EMailSessionClass *class)
G_TYPE_NONE, 1,
CAMEL_TYPE_STORE);
-
/**
* EMailSession::store-removed
* @session: the email session
@@ -1478,7 +1477,6 @@ e_mail_session_class_init (EMailSessionClass *class)
G_TYPE_NONE, 1,
CAMEL_TYPE_STORE);
-
}
static void
diff --git a/libemail-engine/e-mail-utils.c b/libemail-engine/e-mail-utils.c
index 05f5381147..246a4e1329 100644
--- a/libemail-engine/e-mail-utils.c
+++ b/libemail-engine/e-mail-utils.c
@@ -39,7 +39,6 @@
#include <libebook/e-book-client.h>
#include <libebook/e-book-query.h>
-
#include <glib/gi18n.h>
#include <gio/gio.h>
@@ -256,7 +255,6 @@ em_utils_folder_is_outbox (CamelFolder *folder)
/* ********************************************************************** */
-
/* runs sync, in main thread */
static gpointer
emu_addr_setup (gpointer user_data)
@@ -370,7 +368,6 @@ try_open_book_client (EBookClient *book_client,
return data.result && (!error || !*error);
}
-
#define NOT_FOUND_BOOK (GINT_TO_POINTER (1))
G_LOCK_DEFINE_STATIC (contact_cache);
@@ -778,7 +775,6 @@ emu_remove_from_mail_cache (const GSList *addresses)
g_object_unref (cia);
}
-
void
emu_remove_from_mail_cache_1 (const gchar *address)
{
@@ -1052,11 +1048,11 @@ em_utils_uids_free (GPtrArray *uids)
gboolean
em_utils_is_local_delivery_mbox_file (CamelURL *url)
{
- g_return_val_if_fail (url != NULL, FALSE);
+ g_return_val_if_fail (url != NULL, FALSE);
return g_str_equal (url->protocol, "mbox") &&
- (url->path != NULL) &&
- g_file_test (url->path, G_FILE_TEST_EXISTS) &&
- !g_file_test (url->path, G_FILE_TEST_IS_DIR);
+ (url->path != NULL) &&
+ g_file_test (url->path, G_FILE_TEST_EXISTS) &&
+ !g_file_test (url->path, G_FILE_TEST_IS_DIR);
}
diff --git a/libemail-engine/mail-folder-cache.h b/libemail-engine/mail-folder-cache.h
index b0d1d1bc49..5f464a6bd0 100644
--- a/libemail-engine/mail-folder-cache.h
+++ b/libemail-engine/mail-folder-cache.h
@@ -139,17 +139,16 @@ void mail_folder_cache_get_remote_folder_uris
(MailFolderCache *cache,
GQueue *out_queue);
void mail_folder_cache_service_added (MailFolderCache *cache,
- CamelService *service);
-void mail_folder_cache_service_removed
+ CamelService *service);
+void mail_folder_cache_service_removed
(MailFolderCache *cache,
- CamelService *service);
-void mail_folder_cache_service_enabled
+ CamelService *service);
+void mail_folder_cache_service_enabled
(MailFolderCache *cache,
- CamelService *service);
-void mail_folder_cache_service_disabled
+ CamelService *service);
+void mail_folder_cache_service_disabled
(MailFolderCache *cache,
- CamelService *service);
-
+ CamelService *service);
G_END_DECLS