aboutsummaryrefslogtreecommitdiff
path: root/tests/render_test_sc1.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-10-08 21:09:16 +0200
committerThomas White <taw@bitwiz.org.uk>2012-10-08 21:09:16 +0200
commit43f4a4df59d960442df2faedfd50e5c7c7a55d99 (patch)
tree2ee01715b93ae567a01854485299ac33c6878131 /tests/render_test_sc1.c
parentd52c17c36ada874e6a0702808577a603331af095 (diff)
Create PangoLayout when laying out the frame
Because it's necessary to know how much space the contents take up
Diffstat (limited to 'tests/render_test_sc1.c')
-rw-r--r--tests/render_test_sc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/render_test_sc1.c b/tests/render_test_sc1.c
index bccc49d..03a8ec5 100644
--- a/tests/render_test_sc1.c
+++ b/tests/render_test_sc1.c
@@ -60,7 +60,7 @@ 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);
+ layout_frame(fr, allocation.width, allocation.height, pc);
render_frame(fr, cr, pc);
return FALSE;