summaryrefslogtreecommitdiff
path: root/gui/index.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-24 18:08:15 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-24 18:08:15 -0300
commit71d2312487fed19d2500357cb644c3801179f600 (patch)
tree70510dcfbc9abb3376306492b89845333fc2865b /gui/index.c
parent279ddbdb4fb11dbffb487db05b74787b5275b4d9 (diff)
downloadeeshow-71d2312487fed19d2500357cb644c3801179f600.tar.gz
eeshow-71d2312487fed19d2500357cb644c3801179f600.tar.bz2
eeshow-71d2312487fed19d2500357cb644c3801179f600.zip
separate argument list from gfx_init; related API changes
Diffstat (limited to 'gui/index.c')
-rw-r--r--gui/index.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gui/index.c b/gui/index.c
index 8a6e4b5..f9ecc70 100644
--- a/gui/index.c
+++ b/gui/index.c
@@ -267,9 +267,7 @@ static void index_render_sheet(const struct gui_ctx *ctx,
int stride;
if (!sheet->gfx_thumb) {
- char *argv[] = { "index", NULL };
-
- sheet->gfx_thumb = gfx_init(&cro_canvas_ops, 1, argv);
+ sheet->gfx_thumb = gfx_init(&cro_canvas_ops);
sch_render(sheet->sch, sheet->gfx_thumb);
cro_canvas_end(gfx_user(sheet->gfx_thumb),
NULL, NULL, NULL, NULL);