aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-12-26 15:38:26 +0000
committerThomas White <taw@bitwiz.org.uk>2014-12-26 15:38:26 +0000
commit33970b089f8c17a1fd4e505a69b84aa1796a0db8 (patch)
tree11f993e4b5a783417363f13b4f59152877c4bc8a /src/narrative_window.c
parentd36470bcebf57644464754f5ef045a4f8d057c2b (diff)
Callback stuff
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();