From 4df331f5f2036f88095a36904a2aafd9bb758b5a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 30 May 2016 14:58:59 +0800 Subject: [PATCH] src/JsRender/Gtk.vala --- src/JsRender/Gtk.vala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/JsRender/Gtk.vala b/src/JsRender/Gtk.vala index 96635da82..75bb80465 100644 --- a/src/JsRender/Gtk.vala +++ b/src/JsRender/Gtk.vala @@ -137,15 +137,15 @@ namespace JsRender { } public override void setSource(string str) {} + public override string toSourceCode() // no seed support currently. + { + return NodeToVala.mungeFile(this); + } // this is only used by dumping code... - public override string toSource(string format) // no seed support currently. + public override string toSource() // no seed support currently. { - if (format != "vala") { - return ""; - } - return NodeToVala.mungeFile(this); - + /* if (this.tree == null) { -- 2.39.2