From c7fe99405e7b9e82897635e01390b2fc25aa29a9 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 31 Oct 2018 13:05:24 +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 179c9d06..7b28d30e 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\tprint (\"Selection: %s, %d\\n\", (string) val1, (int) 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, %d\\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 f27c9050..c2e2e326 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); - print ("Selection: %s, %d\n", (string) val1, (int) val2); + GLib.debug ("Selection: %s, %d\n", (string) val1, (string) val2); }); } -- 2.39.2