Commit 826f2947 authored by Jens Georg's avatar Jens Georg
Browse files
parent 2782abad
......@@ -98,7 +98,7 @@ PKG_CHECK_MODULES(SHOTWELL, [
libexif >= 0.6.16
libgphoto2 >= 2.5.0
libraw >= 0.13.2
libsoup-2.4 >= 2.26.0
libsoup-2.4 >= 2.42.0
libxml-2.0 >= 2.6.32
sqlite3 >= 3.5.9
webkit2gtk-4.0
......
......@@ -33,7 +33,7 @@ public abstract class Session {
public Session(string? endpoint_url = null) {
this.endpoint_url = endpoint_url;
soup_session = new Soup.SessionAsync();
soup_session = new Soup.Session ();
this.soup_session.ssl_use_system_ca_file = true;
}
......
......@@ -1416,8 +1416,8 @@ internal class GraphSession {
private GraphMessage? current_message;
public GraphSession() {
this.soup_session = new Soup.SessionAsync();
this.soup_session.request_unqueued.connect(on_request_unqueued);
this.soup_session = new Soup.Session ();
this.soup_session.request_unqueued.connect (on_request_unqueued);
this.soup_session.timeout = 15;
this.access_token = null;
this.current_message = null;
......@@ -1425,7 +1425,7 @@ internal class GraphSession {
}
~GraphSession() {
soup_session.request_unqueued.disconnect(on_request_unqueued);
soup_session.request_unqueued.disconnect (on_request_unqueued);
}
private void manage_message(GraphMessage msg) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment