aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-07-27 06:39:31 +0200
committerThomas White <taw@bitwiz.org.uk>2014-07-27 06:39:31 +0200
commit7d617875ef6641de2dece6fc11a67fa6b1f0da0f (patch)
tree373b0a7ddf659fda22551a0a981bfab98666eb44 /src
parent48dfc26e9c88e00a4f59dbfa24f799bc27ba45c0 (diff)
Add new SC block for new slide
Diffstat (limited to 'src')
-rw-r--r--src/presentation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/presentation.c b/src/presentation.c
index 0b07274..9013249 100644
--- a/src/presentation.c
+++ b/src/presentation.c
@@ -106,6 +106,8 @@ int insert_slide(struct presentation *p, struct slide *new, int pos)
p->slides[pos] = new;
p->num_slides++;
+ new->scblocks = sc_block_append_inside(p->scblocks, "slide",
+ NULL, NULL);
new->parent = p;
renumber_slides(p);