tests: Don't use the default stage

https://bugzilla.gnome.org/show_bug.cgi?id=678737
This commit is contained in:
Jasper St. Pierre
2012-06-24 15:02:46 -04:00
parent 3ce9ad05b3
commit 0d82ce5210
16 changed files with 34 additions and 61 deletions

View File

@ -251,10 +251,8 @@ SizingIllustrator.prototype = {
/****************************************************************************/
UI.init();
let stage = Clutter.Stage.get_default();
stage.width = 600;
stage.height = 600;
let stage = new Clutter.Stage({ width: 600, height: 600 });
UI.init(stage);
let mainBox = new St.BoxLayout({ width: stage.width,
height: stage.height,