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

index a5d419c..b992999 100644 (file)
@@ -39,20 +39,22 @@ public class Xcls_EditorWindow : Gtk.Window
         {
              this.pack_start (  new Xcls_Toolbar3(), false,true );
         }
-        public class Xcls_Toolbar3 : Gtk.Toolbar
+    }
+    public class Xcls_Toolbar3 : Gtk.Toolbar
+    {
+        public Xcls_Toolbar3()
+        {
+             this.add (  new Xcls_save_button() );
+        }
+    }
+    public class Xcls_save_button : Gtk.Button
+    {
+        public Xcls_save_button()
         {
-            public Xcls_Toolbar3()
-            {
-                 this.add (  new Xcls_save_button() );
-            }
-            public class Xcls_save_button : Gtk.Button
-            {
-                public Xcls_save_button()
-                {
-                     _this.save_button = this;
-                     this.label = "Save";
-                }
-            }
+             _this.save_button = this;
+             this.label = "Save";
         }
     }
 }
+
+