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 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;