From 0bfb97d530da59f876460652de4bef321d1b35f4 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 6 Nov 2012 16:25:21 +0100 Subject: Replace deprecated soup_message_headers_get() with soup_message_headers_get_list() --- calendar/gui/e-meeting-store.c | 2 +- mail/e-http-request.c | 2 +- modules/cal-config-caldav/e-caldav-chooser.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/calendar/gui/e-meeting-store.c b/calendar/gui/e-meeting-store.c index 3449d5e0cb..c7f5fde71a 100644 --- a/calendar/gui/e-meeting-store.c +++ b/calendar/gui/e-meeting-store.c @@ -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; diff --git a/mail/e-http-request.c b/mail/e-http-request.c index eef570ac3f..dd144f81a5 100644 --- a/mail/e-http-request.c +++ b/mail/e-http-request.c @@ -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; diff --git a/modules/cal-config-caldav/e-caldav-chooser.c b/modules/cal-config-caldav/e-caldav-chooser.c index 3e5856f469..b9176c4143 100644 --- a/modules/cal-config-caldav/e-caldav-chooser.c +++ b/modules/cal-config-caldav/e-caldav-chooser.c @@ -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) -- cgit v1.2.3