From ec8fffcc36f10be6f9df71694cc91796463a6219 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 2 Sep 2014 14:00:09 +0200 Subject: tests: Don't call soup_message_headers_get with newer libsoup This is deprecated and causes compile-time warnings https://bugzilla.gnome.org/show_bug.cgi?id=735921 --- tests/proxy.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/proxy.c b/tests/proxy.c index 36414de..74379e8 100644 --- a/tests/proxy.c +++ b/tests/proxy.c @@ -36,6 +36,11 @@ #include #include +#if SOUP_CHECK_VERSION (2, 28, 0) +/* Avoid deprecation warning with newer libsoup */ +#define soup_message_headers_get soup_message_headers_get_one +#endif + static int errors = 0; static void -- cgit v1.2.1