aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 3d3b0f09d3..91defd775b 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -123,7 +123,6 @@ static void
em_folder_tree_model_class_init (EMFolderTreeModelClass *klass)
{
GObjectClass *object_class = G_OBJECT_CLASS (klass);
- int i;
parent_class = g_type_class_ref (GTK_TYPE_TREE_STORE);
@@ -368,7 +367,7 @@ account_changed (EAccountList *accounts, EAccount *account, gpointer user_data)
return;
camel_exception_init (&ex);
- if (!(provider = camel_session_get_provider (session, uri, &ex))) {
+ if (!(provider = camel_provider_get(uri, &ex))) {
camel_exception_clear (&ex);
return;
}