aboutsummaryrefslogtreecommitdiffstats
path: root/libemail-engine/e-mail-session.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-12-17 05:53:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-12-17 06:03:54 +0800
commit6faf671382518db3a81af23bd67a5f5b41ab3b2e (patch)
treef05f4eb81bf648e9f8ee7ce2fffc0c91b2e2c999 /libemail-engine/e-mail-session.c
parentf1ca58d40a5a005aa5fa751959edbe4ec5f2d22f (diff)
downloadgsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.gz
gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.tar.zst
gsoc2013-evolution-6faf671382518db3a81af23bd67a5f5b41ab3b2e.zip
e-passwords: Remove unused function parameters.
Diffstat (limited to 'libemail-engine/e-mail-session.c')
-rw-r--r--libemail-engine/e-mail-session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libemail-engine/e-mail-session.c b/libemail-engine/e-mail-session.c
index b5bf18df03..30a83d4230 100644
--- a/libemail-engine/e-mail-session.c
+++ b/libemail-engine/e-mail-session.c
@@ -1313,7 +1313,7 @@ mail_session_get_password (CamelSession *session,
/* Otherwise this had better be the CamelGpgContext case. */
g_return_val_if_fail (service == NULL, NULL);
- password = e_passwords_get_password (NULL, item);
+ password = e_passwords_get_password (item);
if (password == NULL || (flags & CAMEL_SESSION_PASSWORD_REPROMPT)) {
gboolean remember;
@@ -1334,10 +1334,10 @@ mail_session_get_password (CamelSession *session,
eflags |= E_PASSWORDS_PASSPHRASE;
password = e_passwords_ask_password (
- "", NULL, item, prompt, eflags, &remember, NULL);
+ "", item, prompt, eflags, &remember, NULL);
if (password == NULL)
- e_passwords_forget_password (NULL, item);
+ e_passwords_forget_password (item);
}
if (password == NULL)
@@ -1361,7 +1361,7 @@ mail_session_forget_password (CamelSession *session,
g_return_val_if_fail (service == NULL, FALSE);
- e_passwords_forget_password (NULL, item);
+ e_passwords_forget_password (item);
return TRUE;
}