From 686802c2a472746a1b40fab30cbb0351e536c9ba Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Tue, 12 Nov 2024 00:36:47 +0100 Subject: Modify block struct --- src/layout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/layout.h') diff --git a/src/layout.h b/src/layout.h index be63155..657ca41 100644 --- a/src/layout.h +++ b/src/layout.h @@ -5,7 +5,7 @@ #include #include -#include "block.h" +typedef struct block block_t; typedef struct { PangoFontDescription *fontdesc; @@ -21,7 +21,7 @@ typedef struct layout { int width, height; int text_width, text_height; PangoLayout *pl; - int n_children; + size_t n_children; struct layout *children; } layout_t; -- cgit v1.2.3