[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:26:10 +0000 (UTC)
commit 5eb0423f7f83bfebaa1db87cd5b05db7886d3c16
Author: Patrick Griffis <pgriffis igalia com>
Date: Thu Feb 13 19:24:16 2020 -0800
Deprecate SoupSession:proxy-uri
libsoup/soup-session.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c
index 5dcf1eb2..d47133e4 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: 2.70: 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:
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]