aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-06-24 19:43:06 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-06-25 08:31:43 +0800
commitcc8bf823ec514f6ba1f59fa8d8103936fa48d070 (patch)
tree28123abc136d37a3574e1060d76188e031b5dd12 /mail
parent728c641c164f23acf43b306d37484888d2318958 (diff)
downloadgsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.gz
gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.tar.zst
gsoc2013-evolution-cc8bf823ec514f6ba1f59fa8d8103936fa48d070.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-display.c4
-rw-r--r--mail/e-mail-printer.c11
-rw-r--r--mail/e-mail-reader-utils.c10
-rw-r--r--mail/e-mail-reader.c2
-rw-r--r--mail/e-mail-request.c4
5 files changed, 16 insertions, 15 deletions
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 3a06deacd5..dab8c3be1c 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -163,7 +163,7 @@ static GtkActionEntry image_entries[] = {
static void
mail_display_update_actions (EWebView *web_view,
- GdkEventButton *event)
+ GdkEventButton *event)
{
WebKitHitTestResult *hit_test;
WebKitHitTestResultContext context;
@@ -181,7 +181,7 @@ mail_display_update_actions (EWebView *web_view,
G_OBJECT (hit_test),
"context", &context,
"image-uri", &image_src,
- NULL);
+ NULL);
if (!(context & WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE))
return;
diff --git a/mail/e-mail-printer.c b/mail/e-mail-printer.c
index 309e2bdeef..07a3b4daed 100644
--- a/mail/e-mail-printer.c
+++ b/mail/e-mail-printer.c
@@ -729,13 +729,13 @@ emp_finalize (GObject *object)
}
static void
-e_mail_printer_class_init (EMailPrinterClass *klass)
+e_mail_printer_class_init (EMailPrinterClass *class)
{
GObjectClass *object_class;
- g_type_class_add_private (klass, sizeof (EMailPrinterPrivate));
+ g_type_class_add_private (class, sizeof (EMailPrinterPrivate));
- object_class = G_OBJECT_CLASS (klass);
+ object_class = G_OBJECT_CLASS (class);
object_class->set_property = emp_set_property;
object_class->get_property = emp_get_property;
object_class->finalize = emp_finalize;
@@ -750,8 +750,9 @@ e_mail_printer_class_init (EMailPrinterClass *klass)
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
- signals[SIGNAL_DONE] = g_signal_new ("done",
- G_TYPE_FROM_CLASS (klass),
+ signals[SIGNAL_DONE] = g_signal_new (
+ "done",
+ G_TYPE_FROM_CLASS (class),
G_SIGNAL_RUN_FIRST,
G_STRUCT_OFFSET (EMailPrinterClass, done),
NULL, NULL,
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 0f0d68ec9d..5bd4bd2ab2 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -537,7 +537,7 @@ free_message_printing_context (struct _MessagePrintingContext *context)
static void
mail_reader_do_print_message (GObject *object,
- GAsyncResult *result,
+ GAsyncResult *result,
gpointer user_data)
{
EMailReader *reader = E_MAIL_READER (object);
@@ -845,7 +845,7 @@ html_contains_nonwhitespace (const gchar *html,
static void
mail_reader_reply_message_parsed (GObject *object,
- GAsyncResult *result,
+ GAsyncResult *result,
gpointer user_data)
{
EShell *shell;
@@ -1543,8 +1543,8 @@ struct mail_reader_parse_message_run_data_ {
static void
mail_reader_parse_message_run (GSimpleAsyncResult *simple,
- GObject *object,
- GCancellable *cancellable)
+ GObject *object,
+ GCancellable *cancellable)
{
EMailReader *reader = E_MAIL_READER (object);
CamelObjectBag *registry;
@@ -1627,7 +1627,7 @@ e_mail_reader_parse_message (EMailReader *reader,
EMailPartList *
e_mail_reader_parse_message_finish (EMailReader *reader,
- GAsyncResult *result)
+ GAsyncResult *result)
{
struct mail_reader_parse_message_run_data_ *data;
EMailPartList *part_list;
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index e4ef4e258e..487d9ff275 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -3111,7 +3111,7 @@ struct format_parser_async_closure_ {
static void
set_mail_display_part_list (GObject *object,
- GAsyncResult *result,
+ GAsyncResult *result,
gpointer user_data)
{
EMailPartList *part_list;
diff --git a/mail/e-mail-request.c b/mail/e-mail-request.c
index ec17a84c82..0f185c2031 100644
--- a/mail/e-mail-request.c
+++ b/mail/e-mail-request.c
@@ -187,8 +187,8 @@ get_empty_image_stream (gsize *len)
static void
handle_contact_photo_request (GSimpleAsyncResult *res,
- GObject *object,
- GCancellable *cancellable)
+ GObject *object,
+ GCancellable *cancellable)
{
EMailRequest *request = E_MAIL_REQUEST (object);
const gchar *email;