DEPRECATED or not DEPRECATED



In WebKit-r163498 I get a compilation halt because of
'treating warnings as errors':

  SOUP_TYPE_PROXY_URI_RESOLVER is deprecated

In webkitgtk-2.3.5 I find the same deprecated function
in SoupNetworkSession.cpp:
-----------------------------------------------------------
#if PLATFORM(EFL)
    // Only for EFL because GTK port uses the default resolver, which uses GIO's proxy resolver.
    if (!httpProxy) {
        soup_session_remove_feature_by_type(m_soupSession.get(), SOUP_TYPE_PROXY_URI_RESOLVER);
        return;
    }
(...)
#else
-----------------------------------------------------------
In a mail from February 2013 I find the lines:

  in 2.43 it will be removed and replaced with
  GProxyResolver-based backward-compat

But in '/usr/include/libsoup-2.4/libsoup/soup-proxy-uri-resolver.h'
I only find:
-----------------------------------------------------------
SOUP_AVAILABLE_IN_2_28
SOUP_DEPRECATED_IN_2_44
GType soup_proxy_uri_resolver_get_type (void);
-----------------------------------------------------------
Although this is 'libsoup-2.45.3' I use.

Where is the replacement?

winfried


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]