soup-gnome: belatedly deprecate SoupProxyResolverGNOME
authorDan Winship <danw@gnome.org>
Tue, 11 Dec 2012 18:03:36 +0000 (19:03 +0100)
committerDan Winship <danw@gnome.org>
Tue, 11 Dec 2012 18:10:34 +0000 (19:10 +0100)
There's no real reason to use SoupProxyResolverGNOME rather than
SoupProxyResolverDefault, so deprecate that too.

libsoup-gnome now consists entirely of deprecated functions.

docs/reference/libsoup-2.4-docs.sgml
docs/reference/libsoup-2.4-sections.txt
libsoup/soup-gnome-features.c
libsoup/soup-gnome-features.h

index 1273eca..95ff9c9 100644 (file)
   </chapter>
 
   <chapter>
-    <title>GNOME integration</title>
-    <xi:include href="xml/soup-gnome-features.xml"/>
-  </chapter>
-
-  <chapter>
     <title>Low-level Networking API</title>
     <xi:include href="xml/soup-address.xml"/>
     <xi:include href="xml/soup-socket.xml"/>
index f8e6dbf..b2952fd 100644 (file)
@@ -1009,18 +1009,6 @@ soup_proxy_uri_resolver_get_type
 </SECTION>
 
 <SECTION>
-<INCLUDE>libsoup/soup-gnome.h</INCLUDE>
-<FILE>soup-gnome-features</FILE>
-SOUP_TYPE_GNOME_FEATURES_2_26
-SOUP_TYPE_PROXY_RESOLVER_GNOME
-<SUBSECTION Standard>
-soup_proxy_resolver_gnome_get_type
-soup_gnome_features_2_26_get_type
-SOUP_TYPE_PASSWORD_MANAGER_GNOME
-soup_password_manager_gnome_get_type
-</SECTION>
-
-<SECTION>
 <FILE>soup-content-sniffer</FILE>
 <TITLE>SoupContentSniffer</TITLE>
 SoupContentSniffer
index 798712a..4b40f34 100644 (file)
 
 #include "soup-gnome-features.h"
 
-/**
- * SOUP_TYPE_PROXY_RESOLVER_GNOME:
- *
- * This returns the #GType of a #SoupProxyURIResolver that can be used to
- * resolve HTTP proxies for GNOME applications. You can add this to
- * a session using soup_session_add_feature_by_type() or by using the
- * %SOUP_SESSION_ADD_FEATURE_BY_TYPE construct-time property.
- *
- * This feature is included in %SOUP_TYPE_GNOME_FEATURES_2_26, so if
- * you are using that feature, you do not need to include this feature
- * separately.
- *
- * Since: 2.26
- **/
-/* This is actually declared in soup-proxy-resolver-gnome now */
-
-/**
- * SOUP_TYPE_GNOME_FEATURES_2_26:
- *
- * This returns the #GType of a #SoupSessionFeature that automatically
- * adds all of the GNOME features defined for libsoup 2.26 (which is
- * just %SOUP_TYPE_PROXY_RESOLVER_GNOME).
- *
- * You can add this to a session using
- * soup_session_add_feature_by_type() or by using the
- * %SOUP_SESSION_ADD_FEATURE_BY_TYPE construct-time property.
- *
- * Since: 2.26
- **/
 GType
 soup_gnome_features_2_26_get_type (void)
 {
-       /* Eventually this needs to be a special SoupSessionFeature
-        * class that registers other features. But for now we can
-        * just do this:
-        */
+       G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
        return SOUP_TYPE_PROXY_RESOLVER_GNOME;
+       G_GNUC_END_IGNORE_DEPRECATIONS;
 }
 
index 3485672..648d504 100644 (file)
 G_BEGIN_DECLS
 
 SOUP_AVAILABLE_IN_2_26
+SOUP_DEPRECATED_IN_2_42_FOR(SOUP_TYPE_PROXY_RESOLVER_DEFAULT)
 GType soup_proxy_resolver_gnome_get_type (void);
 #define SOUP_TYPE_PROXY_RESOLVER_GNOME (soup_proxy_resolver_gnome_get_type ())
 
 SOUP_AVAILABLE_IN_2_26
+SOUP_DEPRECATED_IN_2_42
 GType soup_gnome_features_2_26_get_type (void);
 #define SOUP_TYPE_GNOME_FEATURES_2_26 (soup_gnome_features_2_26_get_type ())