tests/test1.vala
authorAlan Knowles <alan@roojs.com>
Wed, 14 May 2014 14:27:12 +0000 (22:27 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 14 May 2014 14:27:12 +0000 (22:27 +0800)
tests/test1.vala

index b2f0181..783db4a 100644 (file)
@@ -17,7 +17,8 @@ static int main (string[] args) {
 }
  
 
-public static Xcls_EditorWindow  EditorWindow;
+
+public static Xcls_EditorWindow  EditorWindow = new Xcls_EditorWindow ();
 
 
 public class Xcls_EditorWindow : Gtk.Window
@@ -27,7 +28,6 @@ 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;