[polari] util: Request correct Soup version



commit c85d7a44ac462516cd08535853b809abfb4f0603
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed May 19 15:37:14 2021 +0200

    util: Request correct Soup version
    
    The pkg.require() call in main is no longer enough since we switched
    to ESM modules; fixes paste integration.
    
    https://gitlab.gnome.org/GNOME/polari/-/merge_requests/184

 src/utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils.js b/src/utils.js
index c74c332c..bbbb646c 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -45,7 +45,7 @@ import Gio from 'gi://Gio';
 import GLib from 'gi://GLib';
 import Gtk from 'gi://Gtk';
 import Secret from 'gi://Secret';
-import Soup from 'gi://Soup';
+import Soup from 'gi://Soup?version=2.4';
 import Tp from 'gi://TelepathyGLib';
 
 import * as AppNotifications from './appNotifications.js';


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