src/JsRender/NodeToGtk.vala
[app.Builder.js] / src / JsRender / NodeToGtk.vala
index d56c377..5f33ac7 100644 (file)
@@ -281,7 +281,7 @@ public class JsRender.NodeToGtk : Object {
                        labels.add(this.children.get(i));
                }
                for (var i = 0; i < bodies.size; i++) {
-                       var lbl = i > (labels.size -1)) ? null : labels.get(i);
+                       var lbl = (i > (labels.size -1)) ? null : labels.get(i);
 
                        ((global::Gtk.Notebook)this.wrapped_object).append_page(
                                 (global::Gtk.Notebook) bodies.get(i).wrapped_object,
@@ -455,7 +455,8 @@ public class JsRender.NodeToGtk : Object {
                var ns = this.parentObj.node.fqn().split(".")[0];
                 
                var pack = this.node.props.get("* pack").split(",");
-
+               
+               // this tries to use the parameter names from the '*pack' function as properties in child_set_property.
        
                if (cls_methods.has_key(pack[0])) {
                        var mparams = cls_methods.get(pack[0]).paramset.params;