[totem-pl-parser] lib: Fix deprecated explicit proxy support
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser] lib: Fix deprecated explicit proxy support
- Date: Mon, 1 Jul 2013 13:55:56 +0000 (UTC)
commit 0c5f3d3e91372dda5649ccb0ab9e84da1a1bf23b
Author: Bastien Nocera <hadess hadess net>
Date: Mon Jul 1 15:49:32 2013 +0200
lib: Fix deprecated explicit proxy support
It's now built into libsoup and used as required.
configure.ac | 3 ++-
plparse/totem-pl-parser-podcast.c | 3 +--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index c920cd5..d8d6ce7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ GLIB_REQS=2.31.0
GIO_REQS=2.24.0
QUVI_REQS=0.9.1
LIBARCHIVE_REQS=3.0
+LIBSOUP_REQS=2.43.0
# Before making a release, the PLPARSER_LT_VERSION string should be modified.
# The string is of the form C:R:A.
@@ -65,7 +66,7 @@ AC_SUBST(TOTEM_PL_PARSER_VERSION_MAJOR)
AC_SUBST(TOTEM_PL_PARSER_VERSION_MINOR)
AC_SUBST(TOTEM_PL_PARSER_VERSION_MICRO)
-pkg_modules="glib-2.0 >= $GLIB_REQS libxml-2.0 gthread-2.0 gio-2.0 >= $GIO_REQS libsoup-gnome-2.4"
+pkg_modules="glib-2.0 >= $GLIB_REQS libxml-2.0 gthread-2.0 gio-2.0 >= $GIO_REQS libsoup-2.4 >= $LIBSOUP_REQS"
##################################
# Checking libgmime dependency
diff --git a/plparse/totem-pl-parser-podcast.c b/plparse/totem-pl-parser-podcast.c
index ee3ead1..3be806f 100644
--- a/plparse/totem-pl-parser-podcast.c
+++ b/plparse/totem-pl-parser-podcast.c
@@ -25,7 +25,7 @@
#include <glib.h>
#ifndef TOTEM_PL_PARSER_MINI
-#include <libsoup/soup-gnome.h>
+#include <libsoup/soup.h>
#include "xmlparser.h"
#include "totem-pl-parser.h"
#include "totem-disc.h"
@@ -611,7 +611,6 @@ totem_pl_parser_load_http_itunes (const char *uri,
g_print ("Loading ITMS playlist '%s'\n", uri);
session = soup_session_sync_new_with_options (
- SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_GNOME_FEATURES_2_26,
SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_CONTENT_DECODER,
SOUP_SESSION_USER_AGENT, "iTunes/10.0.0",
SOUP_SESSION_ACCEPT_LANGUAGE_AUTO, TRUE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]