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.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 428187c..50fc3e9 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -198,9 +198,13 @@ static cairo_surface_t *render_thumbnail(SCInterpreter *scin, SCBlock *bl,
void *vp)
{
struct presentation *p = vp;
+ cairo_surface_t *surf;
+
printf("thumbnail callback\n");
show_sc_block(sc_interp_get_macro_real_block(scin), "");
- return NULL;
+
+ surf = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, 256, 256);
+ return surf;
}