diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-11-14 10:54:23 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-11-14 10:54:23 +0100 |
commit | 818497b050cd1813a6ce421e8bc68d631e76e531 (patch) | |
tree | fdf43a7a3301e84c48a0822553a39aa8676ab02d /tests | |
parent | 7cd6f7731cf8d1aded64ababa0eb631cf3c40650 (diff) |
Render using lower-level Pango pipeline instead of PangoLayout
Diffstat (limited to 'tests')
-rw-r--r-- | tests/render_test.c | 4 | ||||
-rw-r--r-- | tests/render_test_sc1.c | 4 |
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; } |