summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;