aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-18 09:13:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-19 00:32:37 +0800
commite555c2bff07d0f6d2778117cd28c3eb04f381f75 (patch)
tree014731351f82c08bec4c7e9720ea24431f134f6a /mail
parent22ef5aa7e61bcea10169153932f100a0954942da (diff)
downloadgsoc2013-evolution-e555c2bff07d0f6d2778117cd28c3eb04f381f75.tar.gz
gsoc2013-evolution-e555c2bff07d0f6d2778117cd28c3eb04f381f75.tar.zst
gsoc2013-evolution-e555c2bff07d0f6d2778117cd28c3eb04f381f75.zip
Kill mail_config_service_set_save_passwd().
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-session.c2
-rw-r--r--mail/mail-config.c6
-rw-r--r--mail/mail-config.h4
3 files changed, 1 insertions, 11 deletions
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 8e8d699771..f443007502 100644
--- a/mail/e-mail-session.c
+++ b/mail/e-mail-session.c
@@ -668,7 +668,7 @@ mail_session_get_password (CamelSession *session,
g_free (title);
if (ret && config_service)
- mail_config_service_set_save_passwd (config_service, remember);
+ config_service->save_passwd = remember;
if (config_service)
config_service->get_password_canceled = ret == NULL;
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 390b11300f..31630836b0 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -512,12 +512,6 @@ mail_config_uri_deleted (GCompareFunc uri_cmp, const gchar *uri)
mail_config_write ();
}
-void
-mail_config_service_set_save_passwd (EAccountService *service, gboolean save_passwd)
-{
- service->save_passwd = save_passwd;
-}
-
gchar *
mail_config_folder_to_cachename (CamelFolder *folder, const gchar *prefix)
{
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 792b5f3119..6285fe0da7 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -68,10 +68,6 @@ void mail_config_write (void);
/* General Accessor functions */
-void mail_config_service_set_save_passwd
- (EAccountService *service,
- gboolean save_passwd);
-
/* accounts */
EAccount * mail_config_get_account_by_source_url
(const gchar *url);