NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 13 Feb 2019 06:26:16 +0000 (14:26 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 13 Feb 2019 06:26:16 +0000 (14:26 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 4a012b1..b73696d 100644 (file)
          },
          "label" : "Create Branch",
          "id" : "createbtn",
+         "| void updateState" : "() {\n\n\n\n}\n",
          "* init" : "{\n   this.el.get_style_context().add_class(\"suggested-action\");\n}\n",
          "xtype" : "Button",
          "* pack" : "attach_defaults,4,5,4,5",
-         "$ xns" : "Gtk",
-         "| return_type XXXX" : "updateState() {\n\n\n\n}\n"
+         "$ xns" : "Gtk"
         },
         {
          "* pack" : "attach_defaults,0,5,2,3",
index 146d36b..70d2ecc 100644 (file)
@@ -736,7 +736,7 @@ public class NewBranch : Object
         }
 
         // user defined functions
-        public return_type XXXX updateState() {
+        public void updateState () {