Replace deprecated soup_message_headers_get() with soup_message_headers_get_list()

This commit is contained in:
Milan Crha
2012-11-06 16:25:21 +01:00
parent 704b78d23b
commit 0bfb97d530
3 changed files with 3 additions and 3 deletions

View File

@ -1949,7 +1949,7 @@ redirect_handler (SoupMessage *msg,
SoupURI *new_uri;
const gchar *new_loc;
new_loc = soup_message_headers_get (msg->response_headers, "Location");
new_loc = soup_message_headers_get_list (msg->response_headers, "Location");
if (!new_loc)
return;

View File

@ -88,7 +88,7 @@ redirect_handler (SoupMessage *msg,
SoupURI *new_uri;
const gchar *new_loc;
new_loc = soup_message_headers_get (msg->response_headers, "Location");
new_loc = soup_message_headers_get_list (msg->response_headers, "Location");
if (!new_loc)
return;

View File

@ -181,7 +181,7 @@ caldav_chooser_redirect (SoupMessage *message,
if (!SOUP_STATUS_IS_REDIRECTION (message->status_code))
return;
location = soup_message_headers_get (
location = soup_message_headers_get_list (
message->response_headers, "Location");
if (location == NULL)