aboutsummaryrefslogtreecommitdiff
path: root/src/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout.h')
-rw-r--r--src/layout.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout.h b/src/layout.h
index 4b8cddd..4e69a6c 100644
--- a/src/layout.h
+++ b/src/layout.h
@@ -22,10 +22,10 @@ typedef struct layout {
int text_width, text_height;
PangoLayout *pl;
int n_children;
- struct layout **children;
+ struct layout *children;
} layout_t;
-layout_t *layout_create(block_t *block, layout_info_t info);
+void layout_init(layout_t *layout, block_t *block, layout_info_t info);
void layout_render(layout_t *layout, cairo_t *cr);