diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-08-02 19:19:43 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-08-02 19:19:43 +0000 |
commit | 0665611cc2ecca9e3796c252ebf79d7ab743a2f0 (patch) | |
tree | cd82a9c84e600d1bd2e757b8d08eb89f1db3b8dd /render/table.c | |
parent | 9d678ef7cde2fcdc1ddaa4bcc2a130e8ff07e31e (diff) | |
download | netsurf-0665611cc2ecca9e3796c252ebf79d7ab743a2f0.tar.gz netsurf-0665611cc2ecca9e3796c252ebf79d7ab743a2f0.tar.bz2 |
Port to modified libcss API.
svn path=/trunk/netsurf/; revision=8997
Diffstat (limited to 'render/table.c')
-rw-r--r-- | render/table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/render/table.c b/render/table.c index aad3e38c2..28d08bedd 100644 --- a/render/table.c +++ b/render/table.c @@ -35,8 +35,8 @@ * Container for border values during table border calculations */ struct border { - enum css_border_style style; /**< border-style */ - enum css_border_color color; /**< border-color type */ + enum css_border_style_e style; /**< border-style */ + enum css_border_color_e color; /**< border-color type */ css_color c; /**< border-color value */ css_fixed width; /**< border-width length */ css_unit unit; /**< border-width units */ @@ -90,7 +90,7 @@ bool table_calculate_column_types(struct box *table) for (row_group = table->children; row_group; row_group =row_group->next) for (row = row_group->children; row; row = row->next) for (cell = row->children; cell; cell = cell->next) { - enum css_width type; + enum css_width_e type; css_fixed value = 0; css_unit unit = CSS_UNIT_PX; @@ -141,7 +141,7 @@ bool table_calculate_column_types(struct box *table) unsigned int fixed_columns = 0, percent_columns = 0, auto_columns = 0, unknown_columns = 0; int fixed_width = 0, percent_width = 0; - enum css_width type; + enum css_width_e type; css_fixed value = 0; css_unit unit = CSS_UNIT_PX; |