[evolution-mapi] Adapt to ESourceRegistryServer API changes.



commit 83d54ec0261ad1add18408c5f9cba30614d03a46
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Jul 28 15:44:19 2012 -0400

    Adapt to ESourceRegistryServer API changes.
    
    Use e_source_registry_server_authenticate() (with no callback function)
    instead of e_source_registry_server_queue_auth_session().
    
    Sort of a temporary kludge as ECollectionBackends continue to evolve.

 src/collection/e-mapi-backend.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/collection/e-mapi-backend.c b/src/collection/e-mapi-backend.c
index 288df14..9f8155e 100644
--- a/src/collection/e-mapi-backend.c
+++ b/src/collection/e-mapi-backend.c
@@ -81,7 +81,10 @@ mapi_backend_queue_auth_session (EMapiBackend *backend)
 		server, E_SOURCE_AUTHENTICATOR (backend),
 		e_source_get_uid (source));
 
-	e_source_registry_server_queue_auth_session (server, session);
+	/* For now at least, we don't need to know the
+	 * results, so no callback function is needed. */
+	e_source_registry_server_authenticate (
+		server, session, NULL, NULL, NULL);
 
 	g_object_unref (session);
 	g_object_unref (server);



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