aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/render_test.c4
-rw-r--r--tests/render_test_sc1.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index 027847a..c800cdb 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -60,8 +60,8 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, struct frame *fr)
gtk_widget_get_allocation(da, &allocation);
- layout_frame(fr, allocation.width, allocation.height, pc);
- render_frame(fr, cr, pc);
+ layout_frame(fr, allocation.width, allocation.height);
+ render_frame(fr, cr);
return FALSE;
}
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index 3b0d6a9..154a08f 100644
--- a/tests/render_test_sc1.c
+++ b/tests/render_test_sc1.c
@@ -61,8 +61,8 @@ static gboolean draw_sig(GtkWidget *da, cairo_t *cr, struct frame *fr)
gtk_widget_get_allocation(da, &allocation);
- layout_frame(fr, allocation.width, allocation.height, pc);
- render_frame(fr, cr, pc);
+ layout_frame(fr, allocation.width, allocation.height);
+ render_frame(fr, cr);
return FALSE;
}