diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-29 21:49:02 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-04-29 21:49:38 +0800 |
commit | 77397e699d0840a58aa507144631680a74bd8bed (patch) | |
tree | a0caa440da950c715d93d7fc16ae3b5ff905de74 /mail | |
parent | d21199c9199bceb3bba10ca41a0e4c7fa8b1ad36 (diff) | |
download | gsoc2013-evolution-77397e699d0840a58aa507144631680a74bd8bed.tar.gz gsoc2013-evolution-77397e699d0840a58aa507144631680a74bd8bed.tar.zst gsoc2013-evolution-77397e699d0840a58aa507144631680a74bd8bed.zip |
Adapt to extra arg in camel_session_get_service_by_url().
Diffstat (limited to 'mail')
-rw-r--r-- | mail/e-mail-session-utils.c | 2 | ||||
-rw-r--r-- | mail/e-mail-session.c | 2 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 3 | ||||
-rw-r--r-- | mail/em-folder-utils.c | 6 |
4 files changed, 7 insertions, 6 deletions
diff --git a/mail/e-mail-session-utils.c b/mail/e-mail-session-utils.c index fcdd6b87ac..4f13ff4ab9 100644 --- a/mail/e-mail-session-utils.c +++ b/mail/e-mail-session-utils.c @@ -850,7 +850,7 @@ e_mail_session_unsubscribe_folder_sync (EMailSession *session, goto exit; service = camel_session_get_service_by_url ( - CAMEL_SESSION (session), url); + CAMEL_SESSION (session), url, CAMEL_PROVIDER_STORE); if (!CAMEL_IS_STORE (service)) goto exit; diff --git a/mail/e-mail-session.c b/mail/e-mail-session.c index 83e191ff65..8f76506dc8 100644 --- a/mail/e-mail-session.c +++ b/mail/e-mail-session.c @@ -1269,7 +1269,7 @@ e_mail_session_uri_to_folder_sync (EMailSession *session, } service = camel_session_get_service_by_url ( - CAMEL_SESSION (session), url); + CAMEL_SESSION (session), url, CAMEL_PROVIDER_STORE); if (CAMEL_IS_STORE (service)) { const gchar *name = ""; diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 2a980cc975..11ae4644cd 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2728,7 +2728,8 @@ em_folder_tree_set_selected_list (EMFolderTree *folder_tree, CamelService *service; service = camel_session_get_service_by_url ( - CAMEL_SESSION (session), url); + CAMEL_SESSION (session), + url, CAMEL_PROVIDER_STORE); if (CAMEL_IS_STORE (service)) u->service = g_object_ref (service); } diff --git a/mail/em-folder-utils.c b/mail/em-folder-utils.c index 9ea2521fb3..46b91edefb 100644 --- a/mail/em-folder-utils.c +++ b/mail/em-folder-utils.c @@ -315,7 +315,7 @@ emfu_copy_folder_selected (EMailBackend *backend, url = camel_url_new (cfd->fi->uri, &local_error); if (url != NULL) { service = camel_session_get_service_by_url ( - CAMEL_SESSION (session), url); + CAMEL_SESSION (session), url, CAMEL_PROVIDER_STORE); camel_url_free (url); } @@ -346,7 +346,7 @@ emfu_copy_folder_selected (EMailBackend *backend, url = camel_url_new (uri, &local_error); if (url != NULL) { service = camel_session_get_service_by_url ( - CAMEL_SESSION (session), url); + CAMEL_SESSION (session), url, CAMEL_PROVIDER_STORE); camel_url_free (url); } @@ -720,7 +720,7 @@ emfu_popup_new_folder_response (EMFolderSelector *emfs, url = camel_url_new (uri, NULL); if (url != NULL) { service = camel_session_get_service_by_url ( - CAMEL_SESSION (session), url); + CAMEL_SESSION (session), url, CAMEL_PROVIDER_STORE); camel_url_free (url); } |