diff options
author | Thomas White <taw@bitwiz.org.uk> | 2014-09-11 23:53:24 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2014-09-11 23:53:24 +0200 |
commit | 28026ebf0fde1eb1b51f3808b4f3fc681039e887 (patch) | |
tree | 76cfe260aa428894bf358c59385251865060408c /tests | |
parent | 71e298fd373d5afea429b88f83b8be677e1e2c83 (diff) |
Fix \slidenumber
Diffstat (limited to 'tests')
-rw-r--r-- | tests/render_test.c | 2 | ||||
-rw-r--r-- | tests/render_test_sc1.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/render_test.c b/tests/render_test.c index 2bf856d..faaf1c4 100644 --- a/tests/render_test.c +++ b/tests/render_test.c @@ -60,7 +60,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data) cairo_fill(cr); if ( s->rendered_edit != NULL ) cairo_surface_destroy(s->rendered_edit); - s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR); + s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR, 1); cairo_rectangle(cr, 0.0, 0.0, w, h); cairo_set_source_surface(cr, s->rendered_edit, 0.0, 0.0); cairo_fill(cr); diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c index 4cb0c91..bf60241 100644 --- a/tests/render_test_sc1.c +++ b/tests/render_test_sc1.c @@ -58,7 +58,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data) cairo_fill(cr); if ( s->rendered_edit != NULL ) cairo_surface_destroy(s->rendered_edit); - s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR); + s->rendered_edit = render_slide(s, w, w, h, NULL, ISZ_EDITOR, 1); cairo_rectangle(cr, 0.0, 0.0, w, h); cairo_set_source_surface(cr, s->rendered_edit, 0.0, 0.0); cairo_fill(cr); |