From: Alan Knowles Date: Wed, 13 Feb 2019 06:26:16 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=5eafd9c5c4ba4ea9bdc4ad0dddb1e34627415c85 NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index 4a012b18..b73696d8 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -154,11 +154,11 @@ }, "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", diff --git a/NewBranch.vala b/NewBranch.vala index 146d36b7..70d2ecc6 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -736,7 +736,7 @@ public class NewBranch : Object } // user defined functions - public return_type XXXX updateState() { + public void updateState () {