[librest] auth: document auth as deprecated
- From: Günther Wagner <gwagner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest] auth: document auth as deprecated
- Date: Thu, 3 Feb 2022 07:02:54 +0000 (UTC)
commit 45da5ddd543f7f129ed4c42003f3ff159e2acea5
Author: Günther Wagner <info gunibert de>
Date: Thu Feb 3 07:59:02 2022 +0100
auth: document auth as deprecated
rest/rest-proxy-auth.c | 6 ++++++
rest/rest-proxy-auth.h | 3 +++
2 files changed, 9 insertions(+)
---
diff --git a/rest/rest-proxy-auth.c b/rest/rest-proxy-auth.c
index 0b2ec9f..59bfb29 100644
--- a/rest/rest-proxy-auth.c
+++ b/rest/rest-proxy-auth.c
@@ -102,6 +102,8 @@ rest_proxy_auth_new (RestProxy *proxy,
*
* If @auth is already paused, this function does not
* do anything.
+ *
+ * Deprecated: 0.9: This object get removed from [class@Rest.Proxy]
*/
void
rest_proxy_auth_pause (RestProxyAuth *auth)
@@ -122,6 +124,8 @@ rest_proxy_auth_pause (RestProxyAuth *auth)
* @auth: a paused #RestProxyAuth
*
* Unpauses a paused #RestProxyAuth instance.
+ *
+ * Deprecated: 0.9: This object get removed from [class@Rest.Proxy]
*/
void
rest_proxy_auth_unpause (RestProxyAuth *auth)
@@ -152,6 +156,8 @@ rest_proxy_auth_unpause (RestProxyAuth *auth)
* by cancelling the associated #SoupMessage.
* It results in returning #GError REST_PROXY_ERROR_CANCELLED
* to the function that requested the authentication.
+ *
+ * Deprecated: 0.9: This object get removed from [class@Rest.Proxy]
*/
void
rest_proxy_auth_cancel (RestProxyAuth *auth)
diff --git a/rest/rest-proxy-auth.h b/rest/rest-proxy-auth.h
index 816aaa9..3ec487f 100644
--- a/rest/rest-proxy-auth.h
+++ b/rest/rest-proxy-auth.h
@@ -64,8 +64,11 @@ typedef struct {
GType rest_proxy_auth_get_type (void);
+G_DEPRECATED
void rest_proxy_auth_pause (RestProxyAuth *auth);
+G_DEPRECATED
void rest_proxy_auth_unpause (RestProxyAuth *auth);
+G_DEPRECATED
void rest_proxy_auth_cancel (RestProxyAuth *auth);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]