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

index b992999..b2f0181 100644 (file)
@@ -10,7 +10,7 @@
 static int main (string[] args) {
     Gtk.init (ref args);
     new Xcls_EditorWindow();
-    EditorWindow.showAll();
+    EditorWindow.show_all();
      Gtk.main ();
 
     return 0;
@@ -47,7 +47,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()
         {