X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=tests%2Ftest1.vala;h=d897b2286a217b801b0de39593d9bd288e373568;hb=7e857d8072408ca9f7a3384f2bff241200b5991c;hp=b99299962097467c041f950dd9ec21da843384b7;hpb=f198c00e3a1df1473ed750109199bc0cb0edeaee;p=app.Builder.js diff --git a/tests/test1.vala b/tests/test1.vala index b99299962..d897b2286 100644 --- a/tests/test1.vala +++ b/tests/test1.vala @@ -9,14 +9,20 @@ static int main (string[] args) { Gtk.init (ref args); + + // must init modules... new Xcls_EditorWindow(); - EditorWindow.showAll(); + + + + EditorWindow.show_all(); Gtk.main (); return 0; } + public static Xcls_EditorWindow EditorWindow; @@ -47,7 +53,7 @@ public class Xcls_EditorWindow : Gtk.Window this.add ( new Xcls_save_button() ); } } - public class Xcls_save_button : Gtk.Button + public class Xcls_save_button : Gtk.ToolButton { public Xcls_save_button() {