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
This commit is contained in:
Florian Müllner 2020-01-31 09:23:48 +01:00
parent 53ac00eabb
commit 4871845d01

View File

@ -1,4 +1,6 @@
/* exported main */ /* exported main */
imports.gi.versions.Gtk = '3.0';
const Format = imports.format; const Format = imports.format;
const Gettext = imports.gettext; const Gettext = imports.gettext;
const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi; const { Gio, GLib, GObject, Gtk, Pango, Soup, WebKit2: WebKit } = imports.gi;