aboutsummaryrefslogtreecommitdiff
path: root/src/layout.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2024-11-12 00:36:47 +0100
committerFederico Angelilli <code@fedang.net>2024-11-12 00:36:47 +0100
commit686802c2a472746a1b40fab30cbb0351e536c9ba (patch)
tree9a4fe3fa654fbe7b9bb35893a2da71c9754745b4 /src/layout.h
parent3f2af32442b9384d316651d42ad35945533dc39e (diff)
Modify block struct
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 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;