aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/vcal.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/vcal.c b/src/vcal.c
index 305275e7..fdb68d54 100644
--- a/src/vcal.c
+++ b/src/vcal.c
@@ -31,9 +31,15 @@
#undef TYPE
INIT_F(vcomponent) {
- (void) self;
- ERR("Do not use");
+ INIT(TRIE(content_line), &self->clines);
+ INIT(LLIST(vcomponent), &self->components);
+
+ self->type = NULL;
+ self->parent = NULL;
+ self->scm = NULL;
+
return 0;
+
}
INIT_F(vcomponent, const char* type) {