diff options
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index 0d305799fb..e63d36261f 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -288,10 +288,12 @@ account_added_cb (EAccountList *accounts, EMFolderTreeModel *model) { EMailBackend *backend; + EMailSession *session; backend = em_folder_tree_model_get_backend (model); + session = e_mail_backend_get_session (backend); - e_mail_store_add_by_account (backend, account); + e_mail_store_add_by_account (session, account); } static void |