aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.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/mail-component.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/mail-component.c')
-rw-r--r--mail/mail-component.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 5915f19c89..d5bf6a34ea 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -750,7 +750,7 @@ mail_component_load_store_by_uri (MailComponent *component, const char *uri, con
* it.
*/
- prov = camel_session_get_provider (session, uri, &ex);
+ prov = camel_provider_get(uri, &ex);
if (prov == NULL) {
/* EPFIXME: real error dialog */
g_warning ("couldn't get service %s: %s\n", uri,
@@ -823,7 +823,7 @@ mail_component_remove_store_by_uri (MailComponent *component, const char *uri)
MAIL_COMPONENT_DEFAULT(component);
- if (!(prov = camel_session_get_provider (session, uri, NULL)))
+ if (!(prov = camel_provider_get(uri, NULL)))
return;
if (!(prov->flags & CAMEL_PROVIDER_IS_STORAGE))