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

index 854b8dd..320f167 100644 (file)
@@ -123,6 +123,11 @@ public class JsRender.NodeToGtk : Object {
                        //print("skipping pack  %s is not a buildable..\n", cls);
                        return ret;
                }
+               if (!parent.get_type().is_a((typeof(Gtk.Buildable))) {
+                       print("skipping pack  %s is not a buildable..\n", cls);
+                       return ret;
+               }
+               
 
                 
                if (this.node.items.size < 1) {