Deprecate E_AUTHENTICATION_SESSION_KEYRING_ERROR.
authorMatthew Barnes <mbarnes@redhat.com>
Sat, 15 Dec 2012 15:36:04 +0000 (10:36 -0500)
committerMatthew Barnes <mbarnes@redhat.com>
Sat, 15 Dec 2012 15:36:04 +0000 (10:36 -0500)
docs/reference/libebackend/libebackend-sections.txt
libebackend/e-authentication-session.h

index f941b11..5d1a3fa 100644 (file)
@@ -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
index d9ca0a8..cf5ff9f 100644 (file)
        (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 */