src/JsRender/NodeToGlade.vala
authorAlan Knowles <alan@roojs.com>
Thu, 14 Mar 2024 12:51:05 +0000 (20:51 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 14 Mar 2024 12:51:05 +0000 (20:51 +0800)
src/JsRender/NodeToGlade.vala

index 3a7c070..d8fa68f 100644 (file)
@@ -98,7 +98,9 @@ public class JsRender.NodeToGlade : Object {
                        //exception to the rule.. (must be buildable to work with glade?
                                
                                case "GtkNotebookPage": 
-                                       
+                                       if (this.node.childstore.get_n_items() < 1) {
+                                               return null;
+                                       }
                                
                                        break;