tests/background-size: Get backend from global
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2557>
This commit is contained in:
parent
9da02ea6f0
commit
dc3ee1a9a2
@ -8,7 +8,7 @@ const { Cogl, Clutter, Meta, St } = imports.gi;
|
|||||||
function test() {
|
function test() {
|
||||||
Meta.init();
|
Meta.init();
|
||||||
|
|
||||||
let stage = Meta.get_backend().get_stage();
|
let stage = global.backend.get_stage();
|
||||||
UI.init(stage);
|
UI.init(stage);
|
||||||
|
|
||||||
let vbox = new St.BoxLayout({ style: 'background: #ffee88;' });
|
let vbox = new St.BoxLayout({ style: 'background: #ffee88;' });
|
||||||
|
Loading…
Reference in New Issue
Block a user