aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2015-10-25 20:21:06 +0000
committerThomas White <taw@bitwiz.org.uk>2015-10-25 20:21:06 +0000
commit931c70630f9d87ab371dad830c6b2cb94a2b882d (patch)
tree22798dfa7d1b2d339c920da86ec4448122432d75 /src/narrative_window.c
parent5694221626157e5200f02b564c9c6c2b4f0d746c (diff)
Comments
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 fd3112c..93e8d8f 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -425,6 +425,7 @@ static cairo_surface_t *render_thumbnail(int w, int h, void *bvp, void *vp)
scblocks = sc_block_child(scblocks);
stylesheets[0] = p->stylesheet;
stylesheets[1] = NULL;
+ /* FIXME: Cache like crazy here */
surf = render_sc(scblocks, w, h, 1024.0, 768.0, stylesheets, NULL,
p->is, ISZ_THUMBNAIL, 0, &top);
frame_free(top);