[evolution-exchange] Adapt to Evolution API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Adapt to Evolution API changes.
- Date: Fri, 16 Dec 2011 16:40:23 +0000 (UTC)
commit d875a47d6ebd229dca8dcf0c7184f7a56879b138
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Dec 16 11:22:12 2011 -0500
Adapt to Evolution API changes.
eplugin/exchange-delegates-user.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/eplugin/exchange-delegates-user.c b/eplugin/exchange-delegates-user.c
index ec52c35..a881844 100644
--- a/eplugin/exchange-delegates-user.c
+++ b/eplugin/exchange-delegates-user.c
@@ -190,15 +190,18 @@ em_utils_delegates_done (GObject *source_object,
{
EShell *shell;
EShellBackend *shell_backend;
- EMailBackend *mail_backend;
+ EMailBackend *backend;
+ EMailSession *session;
/* XXX Dig up the EMailSession from the default EShell. */
shell = e_shell_get_default ();
shell_backend = e_shell_get_backend_by_name (shell, "mail");
- mail_backend = E_MAIL_BACKEND (shell_backend);
+
+ backend = E_MAIL_BACKEND (shell_backend);
+ session = e_mail_backend_get_session (backend);
if (e_mail_folder_append_message_finish (CAMEL_FOLDER (source_object), res, NULL, NULL))
- mail_send (mail_backend);
+ mail_send (session);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]