JsRender/NodeToGtk.vala
authorAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 09:17:11 +0000 (17:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 09:17:11 +0000 (17:17 +0800)
JsRender/NodeToGtk.vala

index 3375bc7..08f12d9 100644 (file)
@@ -100,9 +100,9 @@ public class JsRender.NodeToGtk : Object {
                                continue;
                        }
                        var sval =new GLib.Value(typeof(string));
-                       sv.set_string(this.node.get(k).strip());
+                       sval.set_string(this.node.get(k).strip());
                        var val = new GLib.Value(prop_gtype);
-                       if (!sv.transform(val)) {
+                       if (!sval.transform(val)) {
                                print("skip (failed to transform value %s type = %s  from %s\n", 
                                        cls + "." + k, type, this.node.get(k).strip());
                                continue;