tests: require given version of Gtk
This commit is contained in:
parent
dd8c06f2c5
commit
02a7b0dcfd
@ -1,6 +1,9 @@
|
|||||||
#!/usr/bin/env gjs
|
#!/usr/bin/env gjs
|
||||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||||
|
|
||||||
|
imports.gi.versions.Gdk = '3.0';
|
||||||
|
imports.gi.versions.Gtk = '3.0';
|
||||||
|
|
||||||
const Gdk = imports.gi.Gdk;
|
const Gdk = imports.gi.Gdk;
|
||||||
const Gio = imports.gi.Gio;
|
const Gio = imports.gi.Gio;
|
||||||
const GLib = imports.gi.GLib;
|
const GLib = imports.gi.GLib;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env gjs
|
#!/usr/bin/env gjs
|
||||||
|
|
||||||
|
imports.gi.versions.Gtk = '3.0';
|
||||||
|
|
||||||
const Gtk = imports.gi.Gtk;
|
const Gtk = imports.gi.Gtk;
|
||||||
const Mainloop = imports.mainloop;
|
const Mainloop = imports.mainloop;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user