[evolution-data-server] Deprecate e_authentication_session_new().



commit 38a0c0f2b4fea5c1a7787f1f1836b1f1aaf428d9
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Feb 1 14:13:00 2013 -0500

    Deprecate e_authentication_session_new().
    
    Use e_source_registry_server_new_auth_session() instead.

 .../reference/libebackend/libebackend-sections.txt |    2 +-
 libebackend/e-authentication-session.c             |    2 ++
 libebackend/e-authentication-session.h             |   11 ++++++-----
 3 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/docs/reference/libebackend/libebackend-sections.txt b/docs/reference/libebackend/libebackend-sections.txt
index 4441793..9d2be5f 100644
--- a/docs/reference/libebackend/libebackend-sections.txt
+++ b/docs/reference/libebackend/libebackend-sections.txt
@@ -27,7 +27,6 @@ EAuthenticationMediatorPrivate
 <TITLE>EAuthenticationSession</TITLE>
 EAuthenticationSession
 EAuthenticationSessionResult
-e_authentication_session_new
 e_authentication_session_get_server
 e_authentication_session_get_authenticator
 e_authentication_session_get_source_uid
@@ -54,6 +53,7 @@ e_authentication_session_delete_password
 e_authentication_session_delete_password_finish
 <SUBSECTION Deprecated>
 E_AUTHENTICATION_SESSION_KEYRING_ERROR
+e_authentication_session_new
 <SUBSECTION Standard>
 E_AUTHENTICATION_SESSION
 E_IS_AUTHENTICATION_SESSION
diff --git a/libebackend/e-authentication-session.c b/libebackend/e-authentication-session.c
index ce2c65e..c2e7565 100644
--- a/libebackend/e-authentication-session.c
+++ b/libebackend/e-authentication-session.c
@@ -835,6 +835,8 @@ G_DEFINE_QUARK (
  * Returns: a newly-created #EAuthenticationSession
  *
  * Since: 3.6
+ *
+ * Deprecated: 3.8: Use e_source_registry_server_new_auth_session() instead.
  **/
 EAuthenticationSession *
 e_authentication_session_new (ESourceRegistryServer *server,
diff --git a/libebackend/e-authentication-session.h b/libebackend/e-authentication-session.h
index cf5ff9f..eea00c2 100644
--- a/libebackend/e-authentication-session.h
+++ b/libebackend/e-authentication-session.h
@@ -96,11 +96,6 @@ GQuark		e_authentication_session_error_quark
 					(void) G_GNUC_CONST;
 GType		e_authentication_session_get_type
 					(void) G_GNUC_CONST;
-EAuthenticationSession *
-		e_authentication_session_new
-					(struct _ESourceRegistryServer *server,
-					 ESourceAuthenticator *authenticator,
-					 const gchar *source_uid);
 struct _ESourceRegistryServer *
 		e_authentication_session_get_server
 					(EAuthenticationSession *session);
@@ -209,6 +204,12 @@ gboolean	e_authentication_session_delete_password_finish
  **/
 #define E_AUTHENTICATION_SESSION_KEYRING_ERROR \
 	(e_authentication_session_error_quark ())
+
+EAuthenticationSession *
+		e_authentication_session_new
+					(struct _ESourceRegistryServer *server,
+					 ESourceAuthenticator *authenticator,
+					 const gchar *source_uid);
 #endif /* EDS_DISABLE_DEPRECATED */
 
 G_END_DECLS



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