aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-01-19 10:24:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-01-19 12:48:48 +0800
commit59e6e599ba390b0aa720973ff297260d7d354b73 (patch)
tree42342a51edb84a0f08f3c2a49def3c60bc71d0fa /libemail-engine
parent61ae36351b24cc676f60483d576706bf827f2987 (diff)
downloadgsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.gz
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.bz2
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.lz
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.xz
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.zst
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.zip
Coding style and whitespace cleanup.
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