X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=src%2FJsRender%2FGtk.vala;h=75bb80465f48910e6ddb741b66be56b548f43e10;hb=HEAD;hp=96635da82e225c14c7f023437d0825cf5fb07f14;hpb=82bbde65523e2cc2fceaa841992160f2d7f9f74d;p=app.Builder.js 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) {