[evolution/camel-gobject] Adapt to Camel API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution/camel-gobject] Adapt to Camel API changes.
- Date: Sun, 29 Nov 2009 18:38:48 +0000 (UTC)
commit 4df32dfe2623d0e36cc41e52be65d721685df984
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Nov 29 10:45:21 2009 -0500
Adapt to Camel API changes.
mail/mail-session.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mail/mail-session.c b/mail/mail-session.c
index db6e723..e72a191 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -66,7 +66,7 @@ static EShellBackend *session_shell_backend;
static gpointer parent_class;
static gchar *get_password(CamelSession *session, CamelService *service, const gchar *domain, const gchar *prompt, const gchar *item, guint32 flags, GError **error);
-static void forget_password(CamelSession *session, CamelService *service, const gchar *domain, const gchar *item, GError **error);
+static gboolean forget_password(CamelSession *session, CamelService *service, const gchar *domain, const gchar *item, GError **error);
static gboolean alert_user(CamelSession *session, CamelSessionAlertType type, const gchar *prompt, gboolean cancel);
static CamelFilterDriver *get_filter_driver(CamelSession *session, const gchar *type, GError **error);
static gboolean lookup_addressbook(CamelSession *session, const gchar *name);
@@ -258,7 +258,7 @@ get_password (CamelSession *session,
return ret;
}
-static void
+static gboolean
forget_password (CamelSession *session,
CamelService *service,
const gchar *domain,
@@ -267,8 +267,11 @@ forget_password (CamelSession *session,
{
gchar *key = make_key (service, item);
+ /* XXX No way to report an error. */
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]