aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-23 22:18:49 +0100
committerThomas White <taw@physics.org>2017-11-23 22:58:07 +0100
commit5d0df527ee8c1f919638677dd58c0681309b8a8b (patch)
tree63e43938353c0e132f31f0c5b1a4cae7bcebb5cb /tests
parent55c566558b168b434e955dbefca4745c3a4932a2 (diff)
Get rid of image size stuff
A completely unnecessary mechanism.
Diffstat (limited to 'tests')
-rw-r--r--tests/render_test.c2
-rw-r--r--tests/render_test_sc1.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index 5c99542..a6bf25f 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -58,7 +58,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data)
h = gtk_widget_get_allocated_height(da);
surface = render_sc(scblocks, w, h, w, h, NULL, NULL, NULL,
- ISZ_EDITOR, 1, &top, lang);
+ 1, &top, lang);
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surface, 0.0, 0.0);
cairo_fill(cr);
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index eae8689..f0fdb95 100644
--- a/tests/render_test_sc1.c
+++ b/tests/render_test_sc1.c
@@ -57,7 +57,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data)
h = gtk_widget_get_allocated_height(da);
surface = render_sc(scblocks, w, h, w, h, NULL, NULL, NULL,
- ISZ_EDITOR, 1, &top, lang);
+ 1, &top, lang);
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surface, 0.0, 0.0);
cairo_fill(cr);