aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
commitbd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch)
treeb693ad7ec135bd8031458611b5ec485abd866463 /mail/e-mail-backend.c
parent5f83c587b2da0b9578117796253b7726e98748cc (diff)
downloadgsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/e-mail-backend.c')
-rw-r--r--mail/e-mail-backend.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index 06d9dd1f2f..65633da097 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -381,6 +381,7 @@ mail_backend_constructed (GObject *object)
EShellBackend *shell_backend;
MailFolderCache *folder_cache;
const gchar *data_dir;
+ gboolean online;
shell_backend = E_SHELL_BACKEND (object);
shell = e_shell_backend_get_shell (shell_backend);
@@ -388,7 +389,8 @@ mail_backend_constructed (GObject *object)
/* This also initializes Camel, so it needs to happen early. */
mail_session_init ();
- camel_session_set_online ((CamelSession *) session, e_shell_get_online (shell));
+ online = e_shell_get_online (shell);
+ camel_session_set_online (CAMEL_SESSION (session), online);
e_account_combo_box_set_session (session); /* XXX Don't ask... */
folder_cache = mail_folder_cache_get_default ();