aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-05-08 20:05:11 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-05-08 20:28:09 +0800
commit58ef54715147561c2b8d458dd75c44223c46ac10 (patch)
tree56fff6b4e7f64b2a62641e065e465bbac4f6bfcc /mail
parent0ccccead12fae581ea9be349154928c1215896d5 (diff)
downloadgsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.gz
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.tar.zst
gsoc2013-evolution-58ef54715147561c2b8d458dd75c44223c46ac10.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-account-store.c3
-rw-r--r--mail/e-mail-backend.c2
-rw-r--r--mail/e-mail-reader.c4
-rw-r--r--mail/em-composer-utils.c6
-rw-r--r--mail/message-list.c6
5 files changed, 11 insertions, 10 deletions
diff --git a/mail/e-mail-account-store.c b/mail/e-mail-account-store.c
index 7b4605b64d..b4880325f0 100644
--- a/mail/e-mail-account-store.c
+++ b/mail/e-mail-account-store.c
@@ -226,7 +226,8 @@ mail_account_store_service_notify_cb (CamelService *service,
data->store = g_object_ref (store);
data->service = g_object_ref (service);
- g_idle_add_full (G_PRIORITY_DEFAULT_IDLE,
+ g_idle_add_full (
+ G_PRIORITY_DEFAULT_IDLE,
mail_account_store_service_notify_idle_cb,
data,
service_notify_cb_data_free);
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index efb3521b06..0ed85b34ad 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -157,7 +157,7 @@ mail_backend_prepare_for_offline_cb (EShell *shell,
}
/* Set the cancellable only here, because mail_cancel_all() would
- cancel the just added CamelOperation as well. */
+ * cancel the just added CamelOperation as well. */
if (e_shell_backend_is_started (E_SHELL_BACKEND (backend)) &&
!e_activity_get_cancellable (activity)) {
GCancellable *cancellable;
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 97774c84d4..271b65ca08 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2612,7 +2612,7 @@ mail_reader_key_press_event_cb (EMailReader *reader,
GtkAction *action;
const gchar *action_name;
- if (!gtk_widget_has_focus (GTK_WIDGET (reader))) {
+ if (!gtk_widget_has_focus (GTK_WIDGET (reader))) {
WebKitWebFrame *frame;
WebKitDOMDocument *dom;
WebKitDOMElement *element;
@@ -2625,7 +2625,7 @@ mail_reader_key_press_event_cb (EMailReader *reader,
if (frame) {
dom = webkit_web_frame_get_dom_document (frame);
/* intentionally used "static_cast" */
- element = webkit_dom_html_document_get_active_element ((WebKitDOMHTMLDocument*) dom);
+ element = webkit_dom_html_document_get_active_element ((WebKitDOMHTMLDocument *) dom);
if (element)
name = webkit_dom_node_get_node_name (WEBKIT_DOM_NODE (element));
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index cf5039b9fd..5d6ba26c5f 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -1986,8 +1986,8 @@ em_utils_forward_messages (EMailReader *reader,
static gint
compare_sources_with_uids_order_cb (gconstpointer a,
- gconstpointer b,
- gpointer user_data)
+ gconstpointer b,
+ gpointer user_data)
{
ESource *asource = (ESource *) a;
ESource *bsource = (ESource *) b;
@@ -2007,7 +2007,7 @@ compare_sources_with_uids_order_cb (gconstpointer a,
static void
sort_sources_by_ui (GList **psources,
- gpointer user_data)
+ gpointer user_data)
{
EShell *shell = user_data;
EShellBackend *shell_backend;
diff --git a/mail/message-list.c b/mail/message-list.c
index f94953f1d7..3356054b44 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -3216,7 +3216,7 @@ static void
build_tree (MessageList *ml,
CamelFolderThread *thread,
CamelFolderChangeInfo *changes,
- gboolean can_scroll_to_cursor)
+ gboolean can_scroll_to_cursor)
{
gint row = 0;
ETreeModel *etm = ml->model;
@@ -4258,7 +4258,7 @@ struct ml_sort_uids_data {
static gint
ml_sort_uids_cb (gconstpointer a,
- gconstpointer b)
+ gconstpointer b)
{
struct ml_sort_uids_data * const *pdataA = a;
struct ml_sort_uids_data * const *pdataB = b;
@@ -4268,7 +4268,7 @@ ml_sort_uids_cb (gconstpointer a,
void
message_list_sort_uids (MessageList *message_list,
- GPtrArray *uids)
+ GPtrArray *uids)
{
struct ml_sort_uids_data *data;
GPtrArray *array;