summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-07-06 14:48:17 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-07-06 14:48:17 +0000
commit161b8f90ce12a576bc7a46a8a274625923613e5d (patch)
tree5b8e2049477a71788a5a15a4af65e0b83abbdef0
parentfilter-effects-dialog: Set a fixed bg color to avoid deprecated Gtk API (them... (diff)
downloadinkscape-161b8f90ce12a576bc7a46a8a274625923613e5d.tar.gz
inkscape-161b8f90ce12a576bc7a46a8a274625923613e5d.zip
http: Migrate to new LibSoup API
-rw-r--r--CMakeScripts/DefineDependsandFlags.cmake2
-rw-r--r--src/io/http.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake
index 79944309a..6d87846e9 100644
--- a/CMakeScripts/DefineDependsandFlags.cmake
+++ b/CMakeScripts/DefineDependsandFlags.cmake
@@ -47,7 +47,7 @@ pkg_check_modules(INKSCAPE_DEP REQUIRED
fontconfig
gsl
gmodule-2.0
- libsoup-2.4)
+ libsoup-2.4 >= 2.42)
list(APPEND INKSCAPE_LIBS ${INKSCAPE_DEP_LDFLAGS})
list(APPEND INKSCAPE_INCS_SYS ${INKSCAPE_DEP_INCLUDE_DIRS})
diff --git a/src/io/http.cpp b/src/io/http.cpp
index 657e6ac6a..dfaa59a31 100644
--- a/src/io/http.cpp
+++ b/src/io/http.cpp
@@ -125,7 +125,7 @@ Glib::ustring get_file(Glib::ustring uri, uint timeout, callback func) {
// Only then do we get the http request
SoupMessage *msg = soup_message_new_from_uri("GET", s_uri);
- SoupSession *session = soup_session_sync_new();
+ SoupSession *session = soup_session_new();
#ifdef DEBUG_HTTP
SoupLogger *logger;