[evolution] Replace deprecated soup_message_headers_get() with soup_message_headers_get_list()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Replace deprecated soup_message_headers_get() with soup_message_headers_get_list()
- Date: Tue, 6 Nov 2012 15:26:27 +0000 (UTC)
commit 0bfb97d530da59f876460652de4bef321d1b35f4
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 6 16:25:21 2012 +0100
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 3449d5e..c7f5fde 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 eef570a..dd144f8 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 3e5856f..b9176c4 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]