summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatt Watson <mattdangerw@gmail.com>2013-12-03 14:45:30 -0800
committerPhilip Chimento <philip@endlessm.com>2013-12-05 13:23:55 -0800
commitfcb47b2412341aa61cf8756443e4521199519807 (patch)
tree74cbcb1a0c44cfc96679660e839b76b455b8c4fb /test
parent880f05d9261d4aa2184230e3c4feb877495de7a0 (diff)
Removed PStack from sdk
We used this for our page manager, now we can just use GtkStack with Gtk 3.10 [endlessm/eos-sdk#417]
Diffstat (limited to 'test')
-rw-r--r--test/smoke-tests/frame-rate-tests/gtk.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/smoke-tests/frame-rate-tests/gtk.js b/test/smoke-tests/frame-rate-tests/gtk.js
index 8af1376..9ebc14c 100644
--- a/test/smoke-tests/frame-rate-tests/gtk.js
+++ b/test/smoke-tests/frame-rate-tests/gtk.js
@@ -2,17 +2,16 @@
const Lang = imports.lang;
const Gtk = imports.gi.Gtk;
-const PLib = imports.gi.PLib;
const GObject = imports.gi.GObject;
const Endless = imports.gi.Endless;
const TEST_APPLICATION_ID = "com.frametest";
-let TRANSITION1 = PLib.StackTransitionType.SLIDE_LEFT;
-let TRANSITION2 = PLib.StackTransitionType.SLIDE_RIGHT;
+let TRANSITION1 = Gtk.StackTransitionType.SLIDE_LEFT;
+let TRANSITION2 = Gtk.StackTransitionType.SLIDE_RIGHT;
if (ARGV[0] === "crossfade") {
- TRANSITION1 = PLib.StackTransitionType.CROSSFADE;
- TRANSITION2 = PLib.StackTransitionType.CROSSFADE;
+ TRANSITION1 = Gtk.StackTransitionType.CROSSFADE;
+ TRANSITION2 = Gtk.StackTransitionType.CROSSFADE;
}
let BACKGROUND1_NAME = "page1_1080";
@@ -49,7 +48,7 @@ const TestApplication = new Lang.Class ({
this._stack.set_visible_child(this._page1);
}));
- this._stack = new PLib.Stack();
+ this._stack = new Gtk.Stack();
this._stack.add(this._page1);
this._stack.add(this._page2);