From 12d21d2361a3802bd6785533e8b53b0d91244729 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 12 Oct 2000 04:55:38 +0000 Subject: when there are 0 columns, don't assert. 2000-10-12 Jeffrey Stedfast * e-table-item.c: when there are 0 columns, don't assert. svn path=/trunk/; revision=5876 --- widgets/table/e-table-item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/table/e-table-item.c') diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c index 070b55b9da..4a48dd7e81 100644 --- a/widgets/table/e-table-item.c +++ b/widgets/table/e-table-item.c @@ -396,7 +396,7 @@ eti_row_height_real (ETableItem *eti, int row) int col; int h, max_h; - g_assert (eti->cell_views); + g_assert (cols == 0 || eti->cell_views); max_h = 0; -- cgit