summaryrefslogtreecommitdiff
path: root/test/endless
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo@endlessm.com>2015-05-20 14:07:02 -0700
committerCosimo Cecchi <cosimo@endlessm.com>2015-05-20 14:23:28 -0700
commit259b51de8e439a68dd21f1b2fc98d0f7e45a3514 (patch)
tree8b2c38510f42d432be9d84232cc64abb630e2076 /test/endless
parent8dacb1f51f02a86c7516cb4f2e3ed9556ce80d9e (diff)
Add a missing Gtk.init()
Or the test will fail when trying to open the GTK display.
Diffstat (limited to 'test/endless')
-rw-r--r--test/endless/testCustomContainer.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/endless/testCustomContainer.js b/test/endless/testCustomContainer.js
index 7038beb..09b23bb 100644
--- a/test/endless/testCustomContainer.js
+++ b/test/endless/testCustomContainer.js
@@ -15,6 +15,8 @@ const TestContainer = new Lang.Class({
}
});
+Gtk.init(null);
+
describe("CustomContainer", function () {
it("Instantiates a CustomContainer subclass to make sure no exceptions/segfaults", function () {
let createContainer = function () {