diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-07-01 12:07:26 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-09-14 20:08:48 +0800 |
commit | ae9db3ed236b0c734fd12c8dc8c99764626bf0b8 (patch) | |
tree | bd45389467f43a96c36172d8a925dd5df041cf5b /mail/em-account-editor.c | |
parent | db969c7f664d0a1d901bedd794b0c7e0762ede33 (diff) | |
download | gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.tar gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.tar.gz gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.tar.bz2 gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.tar.lz gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.tar.xz gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.tar.zst gsoc2013-evolution-ae9db3ed236b0c734fd12c8dc8c99764626bf0b8.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]; |