src/JsRender/NodeToGlade.vala
authorAlan Knowles <alan@roojs.com>
Sun, 10 Mar 2024 03:56:09 +0000 (11:56 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 10 Mar 2024 03:56:09 +0000 (11:56 +0800)
src/JsRender/NodeToGlade.vala

index 23ec814..a35417b 100644 (file)
@@ -95,8 +95,10 @@ public class JsRender.NodeToGlade : Object {
                var gdata = Palete.Gir.factoryFqn(this.project, this.node.fqn());
                if (gdata == null || !gdata.inherits.contains("Gtk.Buildable")) {
                        switch(cls) {
-                               case "GtkColumnViewColumn": //exception to the rule..
-                                       break;
+                       //exception to the rule.. (must be buildable to work with glade?
+                               case "GtkColumnViewColumn": 
+                               case "GtkNotebookPage": 
+                               break;
                                default:
                                        return null;
                        }