From: Alan Knowles Date: Wed, 31 Oct 2018 05:05:40 +0000 (+0800) Subject: NewBranch.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=08df0f43fac4a944adb616e37e9ab8c5a3cbc94b NewBranch.bjs NewBranch.vala --- diff --git a/NewBranch.bjs b/NewBranch.bjs index 7b28d30e..6c91d2cc 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -49,7 +49,7 @@ }, { "listeners" : { - "changed" : "() => {\n\tGtk.TreeIter iter;\n\tValue val1;\n\tValue val2;\n \n\tthis.el.get_active_iter (out iter);\n\t_this.dbmodel.el.get_value (iter, 0, out val1);\n\t_this.dbmodel.el.get_value (iter, 1, out val2);\n\n\tGLib.debug (\"Selection: %s, %d\\n\", (string) val1, (string) val2);\n}" + "changed" : "() => {\n\tGtk.TreeIter iter;\n\tValue val1;\n\tValue val2;\n \n\tthis.el.get_active_iter (out iter);\n\t_this.dbmodel.el.get_value (iter, 0, out val1);\n\t_this.dbmodel.el.get_value (iter, 1, out val2);\n\n\tGLib.debug (\"Selection: %s, %s\\n\", (string) val1, (string) val2);\n}" }, "id" : "build_module", "* init" : "this.el.add_attribute(_this.dbcellrenderer.el , \"markup\", 1 );", diff --git a/NewBranch.vala b/NewBranch.vala index c2e2e326..8b0c66f0 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -199,7 +199,7 @@ public class NewBranch : Object _this.dbmodel.el.get_value (iter, 0, out val1); _this.dbmodel.el.get_value (iter, 1, out val2); - GLib.debug ("Selection: %s, %d\n", (string) val1, (string) val2); + GLib.debug ("Selection: %s, %s\n", (string) val1, (string) val2); }); }