diff options
| author | Federico Angelilli <code@fedang.net> | 2024-11-12 00:36:47 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-11-12 00:36:47 +0100 |
| commit | 686802c2a472746a1b40fab30cbb0351e536c9ba (patch) | |
| tree | 9a4fe3fa654fbe7b9bb35893a2da71c9754745b4 /src/layout.h | |
| parent | 3f2af32442b9384d316651d42ad35945533dc39e (diff) | |
Modify block struct
Diffstat (limited to 'src/layout.h')
| -rw-r--r-- | src/layout.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <pango/pangocairo.h> #include <pango/pango-types.h> -#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; |
