aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-02-19 15:32:48 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-02-19 15:32:48 +0800
commit2aa12fd3ee68f73fc82251388af26d0e0d86a615 (patch)
tree9be25758b0c4363400996d584448d0b4a8845256 /mail/em-folder-tree-model.c
parent05e0ef6fea2f2feec010109142c8305c69e64c57 (diff)
downloadgsoc2013-evolution-2aa12fd3ee68f73fc82251388af26d0e0d86a615.tar.gz
gsoc2013-evolution-2aa12fd3ee68f73fc82251388af26d0e0d86a615.tar.zst
gsoc2013-evolution-2aa12fd3ee68f73fc82251388af26d0e0d86a615.zip
fix camel provider api changes.
2004-02-19 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): * mail-config.c (mail_config_get_account_by_source_url) (mail_config_get_account_by_transport_url): * mail-component.c (mail_component_load_store_by_uri): * mail-account-gui.c (mail_account_gui_setup) (mail_account_gui_save): * em-utils.c (em_utils_empty_trash, em_uri_from_camel): * em-folder-tree-model.c (account_changed): * em-folder-selector.c (em_folder_selector_get_selected_uri): fix camel provider api changes. svn path=/trunk/; revision=24795
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;
}