aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);