Deprecate e_authentication_session_new().
authorMatthew Barnes <mbarnes@redhat.com>
Fri, 1 Feb 2013 19:13:00 +0000 (14:13 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Fri, 1 Feb 2013 19:15:17 +0000 (14:15 -0500)
Use e_source_registry_server_new_auth_session() instead.

docs/reference/libebackend/libebackend-sections.txt
libebackend/e-authentication-session.c
libebackend/e-authentication-session.h

index 4441793..9d2be5f 100644 (file)
@@ -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
index ce2c65e..c2e7565 100644 (file)
@@ -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,
index cf5ff9f..eea00c2 100644 (file)
@@ -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