aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-12-24 17:22:49 +0000
committerThomas White <taw@bitwiz.org.uk>2014-12-24 17:22:49 +0000
commitd36470bcebf57644464754f5ef045a4f8d057c2b (patch)
treef4ee2561d79d7d94ade9d212d3ced14ffbd4b9db /tests
parent29de55f6415e7dc547f84e7e204e1b93099a0980 (diff)
Structure for callback 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 62bab25..0c47b2e 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -55,7 +55,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data)
w = gtk_widget_get_allocated_width(da);
h = gtk_widget_get_allocated_height(da);
- surface = render_sc(scblocks, w, h, w, h, NULL, NULL,
+ surface = render_sc(scblocks, w, h, w, h, NULL, NULL, NULL,
ISZ_EDITOR, 1);
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surface, 0.0, 0.0);
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index cf297e9..46a9c44 100644
--- a/tests/render_test_sc1.c
+++ b/tests/render_test_sc1.c
@@ -54,7 +54,7 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, gpointer data)
w = gtk_widget_get_allocated_width(da);
h = gtk_widget_get_allocated_height(da);
- surface = render_sc(scblocks, w, h, w, h, NULL, NULL,
+ surface = render_sc(scblocks, w, h, w, h, NULL, NULL, NULL,
ISZ_EDITOR, 1);
cairo_rectangle(cr, 0.0, 0.0, w, h);
cairo_set_source_surface(cr, surface, 0.0, 0.0);