diff options
Diffstat (limited to 'src/slide_window.c')
-rw-r--r-- | src/slide_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slide_window.c b/src/slide_window.c index 8b26af0..2c35e89 100644 --- a/src/slide_window.c +++ b/src/slide_window.c @@ -610,7 +610,7 @@ SlideWindow *slide_window_open(struct presentation *p, SCBlock *scblocks) "win.last"); stylesheets[0] = p->stylesheet; stylesheets[1] = NULL; - sw->sceditor = sc_editor_new(scblocks, stylesheets, p->lang); + sw->sceditor = sc_editor_new(sc_block_child(scblocks), stylesheets, p->lang); scroll = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_AUTOMATIC, |