summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2013-09-17 12:30:55 -0400
committerXavier Claessens <xavier.claessens@collabora.co.uk>2013-09-19 11:05:29 -0400
commit2958c1d4fc6f5e8a19206925f45805fb051009f2 (patch)
tree33a3fe7326ca6be098d7ff6b268b4cb801bbd182
parentc0ed3ce2fc4e905372ba44920e5fa6429c522c01 (diff)
downloadtelepathy-salut-2958c1d4fc6f5e8a19206925f45805fb051009f2.tar.gz
Stop using deprecated libsoup function
-rw-r--r--configure.ac2
-rw-r--r--lib/gibber/gibber-oob-file-transfer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 97422cbe..c9e01d20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -252,7 +252,7 @@ AS_IF([test x$with_backend = xno],
])
dnl Check for libsoup
-PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.24])
+PKG_CHECK_MODULES(LIBSOUP, [libsoup-2.4 >= 2.26.1])
AC_SUBST(LIBSOUP_CFLAGS)
AC_SUBST(LIBSOUP_LIBS)
AC_DEFINE([SOUP_VERSION_MIN_REQUIRED], [SOUP_VERSION_2_24], [Ignore post 2.24 deprecations])
diff --git a/lib/gibber/gibber-oob-file-transfer.c b/lib/gibber/gibber-oob-file-transfer.c
index 23c2bff4..d2026d25 100644
--- a/lib/gibber/gibber-oob-file-transfer.c
+++ b/lib/gibber/gibber-oob-file-transfer.c
@@ -722,7 +722,7 @@ http_server_cb (SoupServer *server,
/* iChat accepts only AppleSingle encoding, i.e. file's contents and
* attributes are stored in the same stream */
- accept_encoding = soup_message_headers_get (msg->request_headers,
+ accept_encoding = soup_message_headers_get_one (msg->request_headers,
"Accept-Encoding");
if (accept_encoding != NULL && strcmp (accept_encoding, "AppleSingle") == 0)
{