From 08df0f43fac4a944adb616e37e9ab8c5a3cbc94b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 31 Oct 2018 13:05:40 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 2 +- NewBranch.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }); } -- 2.39.2