From b5711b145b2586d3e010ba3a9d7d5653747fdba9 Mon Sep 17 00:00:00 2001 From: Rafostar <40623528+Rafostar@users.noreply.github.com> Date: Sat, 10 Apr 2021 21:41:28 +0200 Subject: [PATCH] Set Soup import version to 2.4 With Soup 3.0 release, there is a possibility of having both on the host. Set used version to 2.4 to avoid warnings and compatibility errors for now. --- src/main.js | 1 + src/mainRemote.js | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main.js b/src/main.js index 76d169c4..6230f765 100644 --- a/src/main.js +++ b/src/main.js @@ -1,5 +1,6 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; +imports.gi.versions.Soup = '2.4'; const { Gst } = imports.gi; Gst.init(null); diff --git a/src/mainRemote.js b/src/mainRemote.js index 19b37a63..edc8c736 100644 --- a/src/mainRemote.js +++ b/src/mainRemote.js @@ -1,5 +1,6 @@ imports.gi.versions.Gdk = '4.0'; imports.gi.versions.Gtk = '4.0'; +imports.gi.versions.Soup = '2.4'; const { AppRemote } = imports.src.appRemote; const Misc = imports.src.misc;