diff options
author | Marvin W <git@larma.de> | 2022-11-03 09:46:07 -0600 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2022-11-03 14:10:57 -0600 |
commit | 6e37f3fe3fa0f4ce9a25a91e9d97191c8e4abec1 (patch) | |
tree | 82ab76feb349dceccdfe3e362f211ca3cff7c10e /plugins/http-files/src/file_provider.vala | |
parent | 809c1579e41000f2f43eeb05735afc8165a1a430 (diff) | |
download | dino-6e37f3fe3fa0f4ce9a25a91e9d97191c8e4abec1.tar.gz dino-6e37f3fe3fa0f4ce9a25a91e9d97191c8e4abec1.zip |
Automatically select appropriate libsoup version
Diffstat (limited to 'plugins/http-files/src/file_provider.vala')
-rw-r--r-- | plugins/http-files/src/file_provider.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http-files/src/file_provider.vala b/plugins/http-files/src/file_provider.vala index 3a3aeb94..7928dc81 100644 --- a/plugins/http-files/src/file_provider.vala +++ b/plugins/http-files/src/file_provider.vala @@ -101,7 +101,7 @@ public class FileProvider : Dino.FileProvider, Object { head_message.request_headers.append("Accept-Encoding", "identity"); try { -#if SOUP_3 +#if SOUP_3_0 yield session.send_async(head_message, GLib.Priority.LOW, null); #else yield session.send_async(head_message, null); @@ -136,7 +136,7 @@ public class FileProvider : Dino.FileProvider, Object { var get_message = new Soup.Message("GET", http_receive_data.url); try { -#if SOUP_3 +#if SOUP_3_0 InputStream stream = yield session.send_async(get_message, GLib.Priority.LOW, file_transfer.cancellable); #else InputStream stream = yield session.send_async(get_message, file_transfer.cancellable); |