aboutsummaryrefslogtreecommitdiff
path: root/vcal.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-26 00:55:31 +0100
committerHugo Hörnquist <hugo@hornquist.se>2019-02-26 00:57:39 +0100
commit147b75ceff2a4968be2b0244974972482d512c46 (patch)
treec8969267a92820c99d61e17c4d0e4288ed9e3f9a /vcal.c
parentRename some functions. (diff)
downloadcalp-147b75ceff2a4968be2b0244974972482d512c46.tar.gz
calp-147b75ceff2a4968be2b0244974972482d512c46.tar.xz
Add vcompponent_push_child_x.
Diffstat (limited to 'vcal.c')
-rw-r--r--vcal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcal.c b/vcal.c
index 9aa08c7c..a17f1fcc 100644
--- a/vcal.c
+++ b/vcal.c
@@ -110,6 +110,7 @@ FREE_F(vcomponent) {
}
int PUSH(vcomponent)(vcomponent* parent, vcomponent* child) {
+ child->parent = parent;
return PUSH(VECT(vcomponent))(&parent->components, child);
}