[libsoup/tingping/deprecate-session-proxy-uri] Deprecate SoupSession:proxy-uri
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/tingping/deprecate-session-proxy-uri] Deprecate SoupSession:proxy-uri
- Date: Fri, 14 Feb 2020 03:24:59 +0000 (UTC)
commit 48919c5248f57f5ca29328fa8cce06fe0f29ef62
Author: Patrick Griffis <pgriffis igalia com>
Date: Thu Feb 13 19:24:16 2020 -0800
Deprecate SoupSession:proxy-uri
libsoup/soup-session.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index 5dcf1eb2..a7586e75 100644
--- a/libsoup/soup-session.c
+++ b/libsoup/soup-session.c
@@ -3217,6 +3217,8 @@ soup_session_class_init (SoupSessionClass *session_class)
* <literal>localhost</literal>. If you need more control over
* proxies, you can create a #GSimpleProxyResolver and set the
* #SoupSession:proxy-resolver property.
+ *
+ * Deprecated: Use SoupSession:proxy-resolver along with #GSimpleProxyResolver.
*/
/**
* SOUP_SESSION_PROXY_URI:
@@ -3230,7 +3232,8 @@ soup_session_class_init (SoupSessionClass *session_class)
"The HTTP Proxy to use for this session",
SOUP_TYPE_URI,
G_PARAM_READWRITE |
- G_PARAM_STATIC_STRINGS));
+ G_PARAM_STATIC_STRINGS |
+ G_PARAM_DEPRECATED));
/**
* SoupSession:proxy-resolver:
*
@@ -3329,7 +3332,7 @@ soup_session_class_init (SoupSessionClass *session_class)
*
* Whether or not to use NTLM authentication.
*
- * Deprecated: use soup_session_add_feature_by_type() with
+ * Deprecated: 2.70: use soup_session_add_feature_by_type() with
* #SOUP_TYPE_AUTH_NTLM.
**/
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]