diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-01 12:07:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-08-13 23:27:51 +0800 |
commit | f59681796df8fe0138a1754abbe8ec781bc1535e (patch) | |
tree | 0ced0c119ffed095713d7f64732686df9b2d9152 /mail/em-account-editor.c | |
parent | bf4a1a13e3295deefc4031a446627ff9b1c95c7a (diff) | |
download | gsoc2013-evolution-f59681796df8fe0138a1754abbe8ec781bc1535e.tar.gz gsoc2013-evolution-f59681796df8fe0138a1754abbe8ec781bc1535e.tar.zst gsoc2013-evolution-f59681796df8fe0138a1754abbe8ec781bc1535e.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index 3a391eae0e..a6a0ced595 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -1954,7 +1954,10 @@ emae_check_authtype_done (CamelService *camel_service, } else if (error != NULL) { g_warn_if_fail (auth_types == NULL); - e_alert_run_dialog_for_args (GTK_WINDOW (service->check_dialog), "mail:checking-service-error", error->message, NULL); + e_alert_run_dialog_for_args ( + GTK_WINDOW (service->check_dialog), + "mail:checking-service-error", + error->message, NULL); g_error_free (error); } else { @@ -1973,7 +1976,9 @@ emae_check_authtype_done (CamelService *camel_service, session = e_mail_backend_get_session (backend); /* drop the temporary CamelService */ - camel_session_remove_service (CAMEL_SESSION (session), camel_service_get_uid (camel_service)); + camel_session_remove_service ( + CAMEL_SESSION (session), + camel_service_get_uid (camel_service)); g_object_unref (service->emae); } @@ -2007,10 +2012,13 @@ emae_check_authtype (GtkWidget *w, session = e_mail_backend_get_session (backend); uid = g_strdup_printf ("emae-check-authtype-%p", service); - url_string = e_account_get_string (account, emae_service_info[service->type].account_uri_key); + url_string = e_account_get_string ( + account, emae_service_info[service->type].account_uri_key); /* to test on actual data, not on previously used */ - camel_service = camel_session_add_service (CAMEL_SESSION (session), uid, url_string, service->type, &error); + camel_service = camel_session_add_service ( + CAMEL_SESSION (session), uid, + url_string, service->type, &error); g_free (uid); @@ -2020,7 +2028,9 @@ emae_check_authtype (GtkWidget *w, parent = gtk_widget_get_toplevel (w); if (error) { - e_alert_run_dialog_for_args (parent, "mail:checking-service-error", error->message, NULL); + e_alert_run_dialog_for_args ( + parent, "mail:checking-service-error", + error->message, NULL); g_clear_error (&error); return; } @@ -2056,7 +2066,9 @@ emae_check_authtype (GtkWidget *w, } static void -emae_setup_service (EMAccountEditor *emae, EMAccountEditorService *service, GtkBuilder *builder) +emae_setup_service (EMAccountEditor *emae, + EMAccountEditorService *service, + GtkBuilder *builder) { EAccount *account; struct _service_info *info = &emae_service_info[service->type]; |