tests: load required version of Clutter/Gtk early

This commit is contained in:
Lionel Landwerlin
2017-02-15 00:43:09 +00:00
parent c63b7f0c3f
commit dd8c06f2c5
17 changed files with 37 additions and 29 deletions

View File

@ -1,10 +1,10 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
const UI = imports.testcommon.ui;
const Clutter = imports.gi.Clutter;
const St = imports.gi.St;
const UI = imports.testcommon.ui;
function test() {
let stage = new Clutter.Stage({ width: 640, height: 480 });
UI.init(stage);