From 5c80f1534b435ff5c1c9cc88eb9f5c5c1124f82a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sun, 3 Jan 2010 22:47:27 -0500 Subject: Coding style and whitespace cleanup. --- plugins/mailing-list-actions/mailing-list-actions.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'plugins/mailing-list-actions/mailing-list-actions.c') diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c index 59e54e621a..699ec1efd9 100644 --- a/plugins/mailing-list-actions/mailing-list-actions.c +++ b/plugins/mailing-list-actions/mailing-list-actions.c @@ -69,9 +69,15 @@ typedef enum { } EmlaAction; typedef struct { - EmlaAction action; /* action enumeration */ - gboolean interactive; /* whether the user needs to edit a mailto: message (e.g. for post action) */ - const gchar * header; /* header representing the action */ + /* action enumeration */ + EmlaAction action; + + /* whether the user needs to edit a mailto: + * message (e.g. for post action) */ + gboolean interactive; + + /* header representing the action */ + const gchar *header; } EmlaActionHeader; const EmlaActionHeader emla_action_headers[] = { @@ -117,7 +123,8 @@ emla_list_action_do (CamelFolder *folder, for (t = 0; t < G_N_ELEMENTS (emla_action_headers); t++) { if (emla_action_headers[t].action == action && - (header = camel_medium_get_header (CAMEL_MEDIUM (msg), emla_action_headers[t].header)) != NULL) + (header = camel_medium_get_header (CAMEL_MEDIUM (msg), + emla_action_headers[t].header)) != NULL) break; } @@ -132,7 +139,8 @@ emla_list_action_do (CamelFolder *folder, if (action == EMLA_ACTION_POST) { while (*headerpos == ' ') headerpos++; if (g_ascii_strcasecmp (headerpos, "NO") == 0) { - e_alert_run_dialog_for_args (window, MESSAGE_POSTING_NOT_ALLOWED, NULL); + e_alert_run_dialog_for_args ( + window, MESSAGE_POSTING_NOT_ALLOWED, NULL); goto exit; } } -- cgit