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 --- src/storycode.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/storycode.c') diff --git a/src/storycode.c b/src/storycode.c index 42e6db9..3432090 100644 --- a/src/storycode.c +++ b/src/storycode.c @@ -421,6 +421,8 @@ static struct frame *frame_new() n->num_ro = 1; n->rendering_order[0] = n; + n->pl = NULL; + return n; } -- cgit v1.2.3