diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-07-27 06:39:31 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-07-27 06:39:31 +0200 |
commit | 7d617875ef6641de2dece6fc11a67fa6b1f0da0f (patch) | |
tree | 373b0a7ddf659fda22551a0a981bfab98666eb44 /src | |
parent | 48dfc26e9c88e00a4f59dbfa24f799bc27ba45c0 (diff) |
Add new SC block for new slide
Diffstat (limited to 'src')
-rw-r--r-- | src/presentation.c | 2 |
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); |