diff options
author | Stefano Karapetsas <[email protected]> | 2013-12-01 02:45:32 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-12-01 02:45:32 -0800 |
commit | 0ef48fabc8235bbc1d37c588d235df3bad3f4d39 (patch) | |
tree | 02919f6283767f237e5b57e3c86f6001840fc650 /eel | |
parent | f17baf5908a1d27c7a68392944fce430e0bfd43e (diff) | |
parent | abc518d3298d6e1f73b0163dc09ce60ff60c248d (diff) | |
download | caja-0ef48fabc8235bbc1d37c588d235df3bad3f4d39.tar.bz2 caja-0ef48fabc8235bbc1d37c588d235df3bad3f4d39.tar.xz |
Merge pull request #202 from City-busz/fix-max-child-size
Fix assertion failture on max_child_size
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-wrap-table.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/eel/eel-wrap-table.c b/eel/eel-wrap-table.c index 26e06ef8..eea8b2d0 100644 --- a/eel/eel-wrap-table.c +++ b/eel/eel-wrap-table.c @@ -535,6 +535,9 @@ wrap_table_layout (EelWrapTable *wrap_table) g_assert (EEL_IS_WRAP_TABLE (wrap_table)); max_child_dimensions = wrap_table_get_max_child_dimensions (wrap_table); + max_child_dimensions.width = MAX (max_child_dimensions.width, 1); + max_child_dimensions.height = MAX (max_child_dimensions.height, 1); + content_bounds = wrap_table_get_content_bounds (wrap_table); pos.x = content_bounds.x0; pos.y = content_bounds.y0; |