Commit 6339979c authored by Patrick Griffis's avatar Patrick Griffis

Remove remnants of LIBSOUP_USE_UNSTABLE_REQUEST_API

parent c631894c
......@@ -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>
......
......@@ -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'),
......
/*** BEGIN file-header ***/
#include <config.h>
#define LIBSOUP_USE_UNSTABLE_REQUEST_API
#include <libsoup/soup.h>
#define C_ENUM(v) ((gint) v)
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment