aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-utils.c
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/e-mail-utils.c
parent61ae36351b24cc676f60483d576706bf827f2987 (diff)
downloadgsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.gz
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.tar.zst
gsoc2013-evolution-59e6e599ba390b0aa720973ff297260d7d354b73.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'libemail-engine/e-mail-utils.c')
-rw-r--r--libemail-engine/e-mail-utils.c12
1 files changed, 4 insertions, 8 deletions
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);
}