From 43f4a4df59d960442df2faedfd50e5c7c7a55d99 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 8 Oct 2012 21:09:16 +0200 Subject: Create PangoLayout when laying out the frame Because it's necessary to know how much space the contents take up --- tests/render_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/render_test.c') 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; -- cgit v1.2.3