[evolution-exchange] Fix API change compiler warning
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Fix API change compiler warning
- Date: Fri, 7 Oct 2011 13:46:26 +0000 (UTC)
commit 8bb4a0ef845aa3eb74b59fea68d4adc5a8289628
Author: Milan Crha <mcrha redhat com>
Date: Fri Oct 7 15:43:10 2011 +0200
Fix API change compiler warning
eplugin/exchange-delegates-user.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/eplugin/exchange-delegates-user.c b/eplugin/exchange-delegates-user.c
index 648cab2..6593609 100644
--- a/eplugin/exchange-delegates-user.c
+++ b/eplugin/exchange-delegates-user.c
@@ -190,15 +190,15 @@ em_utils_delegates_done (GObject *source_object,
{
EShell *shell;
EShellBackend *shell_backend;
- EMailSession *session;
+ EMailBackend *mail_backend;
/* XXX Dig up the EMailSession from the default EShell. */
shell = e_shell_get_default ();
shell_backend = e_shell_get_backend_by_name (shell, "mail");
- session = e_mail_backend_get_session (E_MAIL_BACKEND (shell_backend));
+ mail_backend = E_MAIL_BACKEND (shell_backend);
if (e_mail_folder_append_message_finish (CAMEL_FOLDER (source_object), res, NULL, NULL))
- mail_send (session);
+ mail_send (mail_backend);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]