From 58ef54715147561c2b8d458dd75c44223c46ac10 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 8 May 2013 08:05:11 -0400 Subject: Coding style and whitespace cleanup. --- modules/mail/e-mail-shell-view-actions.c | 29 +++++++++++++++-------------- modules/mail/e-mail-shell-view.c | 2 +- modules/mail/em-mailer-prefs.c | 8 ++++---- 3 files changed, 20 insertions(+), 19 deletions(-) (limited to 'modules/mail') diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c index 75fc61e161..f612d159b4 100644 --- a/modules/mail/e-mail-shell-view-actions.c +++ b/modules/mail/e-mail-shell-view-actions.c @@ -442,8 +442,8 @@ async_context_free (AsyncContext *context) static void mark_all_read_thread (GSimpleAsyncResult *simple, - GObject *object, - GCancellable *cancellable) + GObject *object, + GCancellable *cancellable) { AsyncContext *context; CamelStore *store; @@ -487,8 +487,8 @@ mark_all_read_thread (GSimpleAsyncResult *simple, static void mark_all_read_done_cb (GObject *source, - GAsyncResult *result, - gpointer user_data) + GAsyncResult *result, + gpointer user_data) { GSimpleAsyncResult *simple; AsyncContext *context; @@ -520,7 +520,7 @@ mark_all_read_done_cb (GObject *source, static void mark_all_read_collect_folder_names (GQueue *folder_names, - CamelFolderInfo *folder_info) + CamelFolderInfo *folder_info) { while (folder_info != NULL) { if (folder_info->child != NULL) @@ -542,7 +542,7 @@ enum { static gint mark_all_read_prompt_user (EMailShellView *mail_shell_view, - gboolean with_subfolders) + gboolean with_subfolders) { EShellView *shell_view; EShellWindow *shell_window; @@ -572,8 +572,8 @@ mark_all_read_prompt_user (EMailShellView *mail_shell_view, static void mark_all_read_got_folder_info (GObject *source, - GAsyncResult *result, - gpointer user_data) + GAsyncResult *result, + gpointer user_data) { CamelStore *store = CAMEL_STORE (source); AsyncContext *context = user_data; @@ -608,7 +608,8 @@ mark_all_read_got_folder_info (GObject *source, g_return_if_fail (folder_info != NULL); - response = mark_all_read_prompt_user (context->mail_shell_view, + response = mark_all_read_prompt_user ( + context->mail_shell_view, context->can_subfolders && folder_info->child != NULL); if (response == MARK_ALL_READ_CURRENT_ONLY) @@ -643,9 +644,9 @@ mark_all_read_got_folder_info (GObject *source, static void e_mail_shell_view_actions_mark_all_read (EMailShellView *mail_shell_view, - CamelStore *store, - const gchar *folder_name, - gboolean can_subfolders) + CamelStore *store, + const gchar *folder_name, + gboolean can_subfolders) { EShellView *shell_view; EShellBackend *shell_backend; @@ -689,7 +690,7 @@ e_mail_shell_view_actions_mark_all_read (EMailShellView *mail_shell_view, static void action_mail_folder_mark_all_as_read_cb (GtkAction *action, - EMailShellView *mail_shell_view) + EMailShellView *mail_shell_view) { EMailShellContent *mail_shell_content; EMailReader *reader; @@ -717,7 +718,7 @@ action_mail_folder_mark_all_as_read_cb (GtkAction *action, static void action_mail_popup_folder_mark_all_as_read_cb (GtkAction *action, - EMailShellView *mail_shell_view) + EMailShellView *mail_shell_view) { EShellSidebar *shell_sidebar; EMFolderTree *folder_tree; diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index 14b3a83c22..ca4d01e266 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -767,7 +767,7 @@ has_unread_mail (GtkTreeModel *model, GtkTreeIter *parent, gboolean is_root, gboolean *has_unread_root, - gboolean *has_unread) + gboolean *has_unread) { guint unread = 0; GtkTreeIter iter, child; diff --git a/modules/mail/em-mailer-prefs.c b/modules/mail/em-mailer-prefs.c index 3eedb6a816..a5f6e25678 100644 --- a/modules/mail/em-mailer-prefs.c +++ b/modules/mail/em-mailer-prefs.c @@ -147,8 +147,8 @@ mailer_prefs_map_seconds_to_milliseconds (const GValue *value, static gboolean mailer_prefs_map_string_to_rgba (GValue *value, - GVariant *variant, - gpointer user_data) + GVariant *variant, + gpointer user_data) { GdkRGBA rgba; const gchar *string; @@ -165,8 +165,8 @@ mailer_prefs_map_string_to_rgba (GValue *value, static GVariant * mailer_prefs_map_rgba_to_string (const GValue *value, - const GVariantType *expected_type, - gpointer user_data) + const GVariantType *expected_type, + gpointer user_data) { GVariant *variant; const GdkRGBA *rgba; -- cgit v1.2.3