From c90bde464aadc0df06b911545efc2e72733d7bb7 Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Fri, 26 Feb 2021 10:04:14 +0100 Subject: [PATCH] js: Require Soup 2.4 Soup 3.0 is a thing now Part-of: --- js/portalHelper/main.js | 1 + js/ui/environment.js | 1 + 2 files changed, 2 insertions(+) diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index daaefa886..25f866281 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -1,5 +1,6 @@ /* exported main */ imports.gi.versions.Gtk = '3.0'; +imports.gi.versions.Soup = '2.4'; const Format = imports.format; const Gettext = imports.gettext; diff --git a/js/ui/environment.js b/js/ui/environment.js index fa3d490a5..29d0849f1 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -7,6 +7,7 @@ imports.gi.versions.Clutter = Config.LIBMUTTER_API_VERSION; imports.gi.versions.Gio = '2.0'; imports.gi.versions.GdkPixbuf = '2.0'; imports.gi.versions.Gtk = '3.0'; +imports.gi.versions.Soup = '2.4'; imports.gi.versions.TelepathyGLib = '0.12'; imports.gi.versions.TelepathyLogger = '0.2';