[evolution] Kill mail_config_service_set_save_passwd().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Kill mail_config_service_set_save_passwd().
- Date: Mon, 18 Oct 2010 16:34:04 +0000 (UTC)
commit e555c2bff07d0f6d2778117cd28c3eb04f381f75
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Oct 17 21:13:29 2010 -0400
Kill mail_config_service_set_save_passwd().
mail/e-mail-session.c | 2 +-
mail/mail-config.c | 6 ------
mail/mail-config.h | 4 ----
3 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c
index 8e8d699..f443007 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 390b113..3163083 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 792b5f3..6285fe0 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]