diff options
author | Thomas White <taw@physics.org> | 2018-03-11 16:56:56 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-03-11 16:57:17 +0100 |
commit | 6158d0d7411a6718fab01873109067b227bfa1b8 (patch) | |
tree | 63a534c6f18c1d191bc8e77c755ea64eca6feb50 /src/narrative_window.c | |
parent | 01c0a135250841ed2a5f748432dae8f0052c6874 (diff) |
Avoid creating extra ImageStores
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r-- | src/narrative_window.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c index 968ea5c..3bd066f 100644 --- a/src/narrative_window.c +++ b/src/narrative_window.c @@ -820,6 +820,7 @@ NarrativeWindow *narrative_window_new(struct presentation *p, GApplication *papp sc_callback_list_add_callback(cbl, "sthumb", create_thumbnail, render_thumbnail, click_thumbnail, p); sc_editor_set_callbacks(nw->sceditor, cbl); + sc_editor_set_imagestore(nw->sceditor, p->is); toolbar = gtk_toolbar_new(); gtk_toolbar_set_style(GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS); |