summaryrefslogtreecommitdiff
path: root/src/ui/widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget.h')
-rw-r--r--src/ui/widget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widget.h b/src/ui/widget.h
index dc79a22c..27295149 100644
--- a/src/ui/widget.h
+++ b/src/ui/widget.h
@@ -198,6 +198,7 @@ iLocalDef int height_Widget(const iAnyObject *d) {
198 return 0; 198 return 0;
199} 199}
200iLocalDef iObjectList *children_Widget(iAnyObject *d) { 200iLocalDef iObjectList *children_Widget(iAnyObject *d) {
201 if (d == NULL) return NULL;
201 iAssert(isInstance_Object(d, &Class_Widget)); 202 iAssert(isInstance_Object(d, &Class_Widget));
202 return ((iWidget *) d)->children; 203 return ((iWidget *) d)->children;
203} 204}