aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-11-14 10:54:23 +0100
committerThomas White <taw@bitwiz.org.uk>2012-11-14 10:54:23 +0100
commit818497b050cd1813a6ce421e8bc68d631e76e531 (patch)
treefdf43a7a3301e84c48a0822553a39aa8676ab02d /tests
parent7cd6f7731cf8d1aded64ababa0eb631cf3c40650 (diff)
Render using lower-level Pango pipeline instead of PangoLayout
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;
}