[libsoup/tingping/deprecate-session-proxy-uri: 2/2] Deprecate SoupSession:proxy-uri



commit e47297d199ec8a72dc3d87229d182d8bad3d9f0b
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]