aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-04-21 12:05:41 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-04-21 20:19:09 +0800
commit7539873f095e9da238d7b7077fa1f7522330ed75 (patch)
tree498d1bddd00db86d7aad89fc2feb7859aeda46fd /mail
parenta4cb2af92266116c86703b59ce5d92baf259d610 (diff)
downloadgsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.tar
gsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.tar.gz
gsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.tar.bz2
gsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.tar.lz
gsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.tar.xz
gsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.tar.zst
gsoc2013-evolution-7539873f095e9da238d7b7077fa1f7522330ed75.zip
Adapt to Camel API changes.
Diffstat (limited to 'mail')
-rw-r--r--mail/mail-session.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 84b6c8e065..ac96a655e5 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -89,7 +89,7 @@ static gchar *mail_data_dir;
static gchar *mail_config_dir;
static gchar *get_password(CamelSession *session, CamelService *service, const gchar *domain, const gchar *prompt, const gchar *item, guint32 flags, CamelException *ex);
-static void forget_password(CamelSession *session, CamelService *service, const gchar *domain, const gchar *item, CamelException *ex);
+static gboolean forget_password(CamelSession *session, CamelService *service, const gchar *domain, const gchar *item, CamelException *ex);
static gboolean alert_user(CamelSession *session, CamelSessionAlertType type, const gchar *prompt, gboolean cancel);
static CamelFilterDriver *get_filter_driver(CamelSession *session, const gchar *type, CamelException *ex);
static gboolean lookup_addressbook(CamelSession *session, const gchar *name);
@@ -268,13 +268,19 @@ get_password (CamelSession *session, CamelService *service, const gchar *domain,
return ret;
}
-static void
-forget_password (CamelSession *session, CamelService *service, const gchar *domain, const gchar *item, CamelException *ex)
+static gboolean
+forget_password (CamelSession *session,
+ CamelService *service,
+ const gchar *domain,
+ const gchar *item,
+ CamelException *ex)
{
gchar *key = make_key (service, item);
e_passwords_forget_password (domain?domain:"Mail", key);
g_free (key);
+
+ return TRUE;
}
/* ********************************************************************** */