[evolution/webkit] Adapt to extra arg in camel_session_get_service_by_url().



commit 78849b88a402df4660db939c5498b4ca632e001d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Apr 29 09:49:02 2011 -0400

    Adapt to extra arg in camel_session_get_service_by_url().

 mail/e-mail-session-utils.c                      |    2 +-
 mail/e-mail-session.c                            |    2 +-
 mail/em-folder-tree.c                            |    3 ++-
 mail/em-folder-utils.c                           |    6 +++---
 plugins/groupwise-features/install-shared.c      |    2 +-
 plugins/groupwise-features/share-folder-common.c |    5 +++--
 6 files changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/mail/e-mail-session-utils.c b/mail/e-mail-session-utils.c
index fcdd6b8..4f13ff4 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 83e191f..8f76506 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 2a980cc..11ae464 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 9ea2521..46b91ed 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);
 	}
 
diff --git a/plugins/groupwise-features/install-shared.c b/plugins/groupwise-features/install-shared.c
index 3899dab..d43d6fa 100644
--- a/plugins/groupwise-features/install-shared.c
+++ b/plugins/groupwise-features/install-shared.c
@@ -96,7 +96,7 @@ install_folder_response (EMFolderSelector *emfs, gint response, gpointer *data)
 		url = camel_url_new (uri, NULL);
 		if (url != NULL) {
 			service = camel_session_get_service_by_url (
-				session, url);
+				session, url, CAMEL_PROVIDER_STORE);
 			camel_url_free (url);
 		}
 
diff --git a/plugins/groupwise-features/share-folder-common.c b/plugins/groupwise-features/share-folder-common.c
index 19d46ba..dcf470d 100644
--- a/plugins/groupwise-features/share-folder-common.c
+++ b/plugins/groupwise-features/share-folder-common.c
@@ -267,7 +267,7 @@ users_dialog_response (GtkWidget *dialog, gint response, struct ShareInfo *ssi)
 	url = camel_url_new (uri, NULL);
 	if (url != NULL) {
 		service = camel_session_get_service_by_url (
-			CAMEL_SESSION (session), url);
+			session, url, CAMEL_PROVIDER_STORE);
 		camel_url_free (url);
 	}
 
@@ -319,7 +319,8 @@ new_folder_response (EMFolderSelector *emfs, gint response, EMFolderTreeModel *m
 
 	url = camel_url_new (uri, NULL);
 	if (url != NULL) {
-		service = camel_session_get_service_by_url (session, url);
+		service = camel_session_get_service_by_url (
+			session, url, CAMEL_PROVIDER_STORE);
 		camel_url_free (url);
 	}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]