[libgdata] [core] Remove use of a deprecated libsoup symbol, bumping req. to 2.26.1



commit c712a5ae0e75bfec4db6780237887d4ce45e782f
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu May 7 17:17:42 2009 +0100

    [core] Remove use of a deprecated libsoup symbol, bumping req. to 2.26.1
    
    This bumps the libsoup requirement to 2.26.1.
---
 README                |    2 +-
 configure.in          |    2 +-
 gdata/gdata-service.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 0a0b3a9..b69acd2 100644
--- a/README
+++ b/README
@@ -16,7 +16,7 @@ Dependencies
 * glib-2.0 >= 2.19.0
 * libxml-2.0
 * gio-2.0 >= 2.17.3
-* libsoup-2.4 >= 2.24.0
+* libsoup-2.4 >= 2.26.1
 
 If compiling with --enable-gnome (for GNOME support):
 * libsoup-gnome-2.4
diff --git a/configure.in b/configure.in
index 8f4f031..1dce456 100644
--- a/configure.in
+++ b/configure.in
@@ -29,7 +29,7 @@ AC_PATH_PROG([GLIB_MKENUMS],[glib-mkenums])
 # Requirements
 GLIB_REQS=2.19.0
 GIO_REQS=2.17.3
-SOUP_REQS=2.24.0
+SOUP_REQS=2.26.1
 
 # Before making a release, the GDATA_LT_VERSION string should be modified.
 # The string is of the form C:R:A.
diff --git a/gdata/gdata-service.c b/gdata/gdata-service.c
index b883d91..9a93fcb 100644
--- a/gdata/gdata-service.c
+++ b/gdata/gdata-service.c
@@ -733,7 +733,7 @@ _gdata_service_send_message (GDataService *self, SoupMessage *message, GError **
 		SoupURI *new_uri;
 		const gchar *new_location;
 
-		new_location = soup_message_headers_get (message->response_headers, "Location");
+		new_location = soup_message_headers_get_one (message->response_headers, "Location");
 		g_return_val_if_fail (new_location != NULL, SOUP_STATUS_NONE);
 
 		new_uri = soup_uri_new_with_base (soup_message_get_uri (message), new_location);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]