aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/create.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/vcomponent/create.scm')
-rw-r--r--module/vcomponent/create.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/vcomponent/create.scm b/module/vcomponent/create.scm
index 0521b39b..374da8b4 100644
--- a/module/vcomponent/create.scm
+++ b/module/vcomponent/create.scm
@@ -100,7 +100,7 @@
(upcase-keys (kvlist->assq attrs)))
;; Attach children
- (for-each (lambda (child) (add-child! component child))
+ (for-each (lambda (child) (reparent! component child))
children)))
component)