[evolution-data-server] Deprecate E_AUTHENTICATION_SESSION_KEYRING_ERROR.



commit bef51c5b3a59103347ed04062b6f0abadac23eb0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Dec 15 10:36:04 2012 -0500

    Deprecate E_AUTHENTICATION_SESSION_KEYRING_ERROR.

 .../reference/libebackend/libebackend-sections.txt |    2 +-
 libebackend/e-authentication-session.h             |   28 +++++++++++--------
 2 files changed, 17 insertions(+), 13 deletions(-)
---
diff --git a/docs/reference/libebackend/libebackend-sections.txt b/docs/reference/libebackend/libebackend-sections.txt
index f941b11..5d1a3fa 100644
--- a/docs/reference/libebackend/libebackend-sections.txt
+++ b/docs/reference/libebackend/libebackend-sections.txt
@@ -25,7 +25,6 @@ e_authentication_mediator_get_type
 <SECTION>
 <FILE>e-authentication-session</FILE>
 <TITLE>EAuthenticationSession</TITLE>
-E_AUTHENTICATION_SESSION_KEYRING_ERROR
 EAuthenticationSession
 EAuthenticationSessionResult
 e_authentication_session_new
@@ -53,6 +52,7 @@ e_authentication_session_lookup_password_finish
 e_authentication_session_delete_password_sync
 e_authentication_session_delete_password
 e_authentication_session_delete_password_finish
+E_AUTHENTICATION_SESSION_KEYRING_ERROR
 <SUBSECTION Standard>
 E_AUTHENTICATION_SESSION
 E_IS_AUTHENTICATION_SESSION
diff --git a/libebackend/e-authentication-session.h b/libebackend/e-authentication-session.h
index d9ca0a8..cf5ff9f 100644
--- a/libebackend/e-authentication-session.h
+++ b/libebackend/e-authentication-session.h
@@ -48,18 +48,6 @@
 	(G_TYPE_INSTANCE_GET_CLASS \
 	((obj), E_TYPE_AUTHENTICATION_SESSION, EAuthenticationSessionClass))
 
-/**
- * E_AUTHENTICATION_SESSION_KEYRING_ERROR:
- *
- * Error domain for password storage and retrieval.
- *
- * No longer used.
- *
- * Since: 3.6
- **/
-#define E_AUTHENTICATION_SESSION_KEYRING_ERROR \
-	(e_authentication_session_error_quark ())
-
 G_BEGIN_DECLS
 
 struct _ESourceRegistryServer;
@@ -207,6 +195,22 @@ gboolean	e_authentication_session_delete_password_finish
 					 GAsyncResult *result,
 					 GError **error);
 
+#ifndef EDS_DISABLE_DEPRECATED
+/**
+ * E_AUTHENTICATION_SESSION_KEYRING_ERROR:
+ *
+ * Error domain for password storage and retrieval.
+ *
+ * No longer used.
+ *
+ * Since: 3.6
+ *
+ * Deprecated: 3.8: The #SECRET_ERROR domain is now used instead.
+ **/
+#define E_AUTHENTICATION_SESSION_KEYRING_ERROR \
+	(e_authentication_session_error_quark ())
+#endif /* EDS_DISABLE_DEPRECATED */
+
 G_END_DECLS
 
 #endif /* E_AUTHENTICATION_SESSION_H */



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