aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index da1d8f1..55d1961 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -238,6 +238,7 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *app)
stylesheets[2] = NULL;
nw->sceditor = sc_editor_new(nw->p->scblocks, stylesheets);
cbl = sc_callback_list_new();
+ sc_callback_list_add_callback(cbl, "sthumb", render_thumbnail);
sc_editor_set_callbacks(nw->sceditor, cbl);
toolbar = gtk_toolbar_new();