diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2020-09-20 13:00:55 -0700 |
---|---|---|
committer | Patrick Griffis <pgriffis@igalia.com> | 2020-09-20 13:01:23 -0700 |
commit | 6339979cda30a6efaddb7ce3d3e20c98a16225c8 (patch) | |
tree | 40f9579fd2f97dff3e544b5a2e1df515e4db934b | |
parent | c631894c242940c4e664de2505b4bb01267432c4 (diff) | |
download | libsoup-6339979cda30a6efaddb7ce3d3e20c98a16225c8.tar.gz |
Remove remnants of LIBSOUP_USE_UNSTABLE_REQUEST_API
-rw-r--r-- | docs/reference/request-howto.xml | 6 | ||||
-rw-r--r-- | libsoup/meson.build | 4 | ||||
-rw-r--r-- | libsoup/soup-enum-types.c.template | 1 | ||||
-rw-r--r-- | tests/test-utils.h | 2 |
4 files changed, 2 insertions, 11 deletions
diff --git a/docs/reference/request-howto.xml b/docs/reference/request-howto.xml index 55a46431..1a8b0983 100644 --- a/docs/reference/request-howto.xml +++ b/docs/reference/request-howto.xml @@ -30,11 +30,7 @@ useful to programs that want to deal with multiple kinds of URIs. <application>libsoup</application> API in 2.42 with the addition of <link linkend="soup-session-request"><function>soup_session_request</function></link> -and the related functions. However, parts of it are also available as -far back as <application>libsoup</application> 2.34 via the -(now-deprecated) <type>SoupRequester</type> session feature, if you -define <literal>LIBSOUP_USE_UNSTABLE_REQUEST_API</literal> before -including the <application>libsoup</application> headers. +and the related functions. </para> <para> diff --git a/libsoup/meson.build b/libsoup/meson.build index 76fd28b3..d519534a 100644 --- a/libsoup/meson.build +++ b/libsoup/meson.build @@ -272,8 +272,6 @@ libsoup_static_dep = declare_dependency(link_with : libsoup_static, ) if enable_introspection or enable_vapi - soup_gir_args = libsoup_c_args + ['-DLIBSOUP_USE_UNSTABLE_REQUEST_API'] - soup_ns = 'Soup' soup_gir_gen_sources = gnome.generate_gir(libsoup, @@ -289,7 +287,7 @@ if enable_introspection or enable_vapi symbol_prefix : soup_ns.to_lower(), identifier_prefix : soup_ns, export_packages : libsoup_api_name, - extra_args : soup_gir_args, + extra_args : libsoup_c_args, includes : 'Gio-2.0', install : true, header: join_paths(meson.project_name(), 'soup.h'), diff --git a/libsoup/soup-enum-types.c.template b/libsoup/soup-enum-types.c.template index 8afb533e..8f153e88 100644 --- a/libsoup/soup-enum-types.c.template +++ b/libsoup/soup-enum-types.c.template @@ -1,7 +1,6 @@ /*** BEGIN file-header ***/ #include <config.h> -#define LIBSOUP_USE_UNSTABLE_REQUEST_API #include <libsoup/soup.h> #define C_ENUM(v) ((gint) v) diff --git a/tests/test-utils.h b/tests/test-utils.h index 0586df9a..058e153a 100644 --- a/tests/test-utils.h +++ b/tests/test-utils.h @@ -7,8 +7,6 @@ #include <string.h> #include <stdlib.h> -#define LIBSOUP_USE_UNSTABLE_REQUEST_API - #include "libsoup/soup.h" void test_init (int argc, char **argv, GOptionEntry *entries); |