[evolution-ews] Adapt to ESourceRegistryServer API changes.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Adapt to ESourceRegistryServer API changes.
- Date: Sat, 28 Jul 2012 21:24:15 +0000 (UTC)
commit 0a6f6cbbc4da650bb9883aa456d84c38224a0923
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jul 28 15:41:22 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-ews-backend.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/collection/e-ews-backend.c b/src/collection/e-ews-backend.c
index a7fb93b..2ce4dbc 100644
--- a/src/collection/e-ews-backend.c
+++ b/src/collection/e-ews-backend.c
@@ -114,7 +114,10 @@ ews_backend_queue_auth_session (ECollectionBackend *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]