[geary/gnumdk/stable: 14/21] accounts: fix for libsoup 2.4




commit 9bd70f43d8347ba4fcca4320df603a502e32c741
Author: Cédric Bellegarde <cedric bellegarde adishatz org>
Date:   Tue Jul 19 10:06:44 2022 +0200

    accounts: fix for libsoup 2.4

 meson.build                                  | 1 -
 src/client/accounts/accounts-autoconfig.vala | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 9deaa6c10..d0af9eef8 100644
--- a/meson.build
+++ b/meson.build
@@ -94,7 +94,6 @@ libmath = cc.find_library('m')
 libpeas = dependency('libpeas-1.0', version: '>= 1.24.0')
 libpeas_gtk = dependency('libpeas-gtk-1.0', version: '>= 1.24.0')
 libsecret = dependency('libsecret-1', version: '>= 0.11')
-libsoup = dependency('libsoup-3.0')
 libstemmer_dep = cc.find_library('stemmer')
 libsoup = dependency('libsoup-2.4', version: '>= 2.48')
 libunwind_dep = dependency(
diff --git a/src/client/accounts/accounts-autoconfig.vala b/src/client/accounts/accounts-autoconfig.vala
index 3ce9c3a32..72717635a 100644
--- a/src/client/accounts/accounts-autoconfig.vala
+++ b/src/client/accounts/accounts-autoconfig.vala
@@ -67,7 +67,7 @@ internal class Accounts.AutoConfig {
 
         try {
             var stream = yield session.send_async(
-                msg, Priority.DEFAULT, this.cancellable
+                msg, this.cancellable
             );
             uint8[] buf = new uint8[SOUP_BUF_SIZE];
             size_t read = SOUP_BUF_SIZE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]