X-Git-Url: http://git.roojs.org/?p=app.Builder.js;a=blobdiff_plain;f=tests%2Ftest1.vala;h=d897b2286a217b801b0de39593d9bd288e373568;hp=783db4aa231c0bf20e24e0c80770a4bb59e01eeb;hb=HEAD;hpb=3e33573e444fcaea240d1fab85c77b4421eae476 diff --git a/tests/test1.vala b/tests/test1.vala index 783db4aa2..d897b2286 100644 --- a/tests/test1.vala +++ b/tests/test1.vala @@ -9,7 +9,12 @@ static int main (string[] args) { Gtk.init (ref args); + + // must init modules... new Xcls_EditorWindow(); + + + EditorWindow.show_all(); Gtk.main (); @@ -18,7 +23,7 @@ static int main (string[] args) { -public static Xcls_EditorWindow EditorWindow = new Xcls_EditorWindow (); +public static Xcls_EditorWindow EditorWindow; public class Xcls_EditorWindow : Gtk.Window @@ -28,6 +33,7 @@ public class Xcls_EditorWindow : Gtk.Window public Xcls_EditorWindow() { _this = this; + EditorWindow = this; this.height_request = 300; this.title = "Application Builder - Editor"; this.width_request = 500;