From 4871845d0146b30dfd8dad93dd86d1557e40dca4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Fri, 31 Jan 2020 09:23:48 +0100 Subject: [PATCH] portalHelper: Require GTK 3.0 When multiple versions of a typelib are available, GI will pick the highest one unless an explicit version is requested. So as GTK 4.0 is becoming a thing, it's time to do that. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/970 --- js/portalHelper/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/portalHelper/main.js b/js/portalHelper/main.js index dc062a279..b0e568dac 100644 --- a/js/portalHelper/main.js +++ b/js/portalHelper/main.js @@ -1,4 +1,6 @@ /* exported main */ +imports.gi.versions.Gtk = '3.0'; + const Format = imports.format; const Gettext = imports.gettext; const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi;