aboutsummaryrefslogtreecommitdiff
path: root/tests/render_test.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.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.c')
-rw-r--r--tests/render_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/render_test.c b/tests/render_test.c
index 4124216..fc4784e 100644
--- a/tests/render_test.c
+++ b/tests/render_test.c
@@ -59,7 +59,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;