aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-item.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-10-12 12:55:38 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-10-12 12:55:38 +0800
commit12d21d2361a3802bd6785533e8b53b0d91244729 (patch)
tree38a03aadae246156e31fe18c1dbce956bf1808c3 /widgets/table/e-table-item.c
parent3c4dcee5075aff81b7f6fb1634910dac6667949c (diff)
downloadgsoc2013-evolution-12d21d2361a3802bd6785533e8b53b0d91244729.tar.gz
gsoc2013-evolution-12d21d2361a3802bd6785533e8b53b0d91244729.tar.zst
gsoc2013-evolution-12d21d2361a3802bd6785533e8b53b0d91244729.zip
when there are 0 columns, don't assert.
2000-10-12 Jeffrey Stedfast <fejj@helixcode.com> * e-table-item.c: when there are 0 columns, don't assert. svn path=/trunk/; revision=5876
Diffstat (limited to 'widgets/table/e-table-item.c')
-rw-r--r--widgets/table/e-table-item.c2
1 files changed, 1 insertions, 1 deletions
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;