[evolution] Adapt to Camel API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Adapt to Camel API changes.
- Date: Wed, 21 Apr 2010 12:19:39 +0000 (UTC)
commit 7539873f095e9da238d7b7077fa1f7522330ed75
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Apr 21 00:05:41 2010 -0400
Adapt to Camel API changes.
mail/mail-session.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 84b6c8e..ac96a65 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;
}
/* ********************************************************************** */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]