aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLarry Ewing <lewing@ximian.com>2001-02-01 07:24:30 +0800
committerLarry Ewing <lewing@src.gnome.org>2001-02-01 07:24:30 +0800
commit82de3a557cf3237c4e3244dc565ccee70a146f56 (patch)
treece5e30381ac5843160a5d8eccca231644616c48e
parent7932df2252d91453a961240d521fdc38323d7283 (diff)
downloadgsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.tar
gsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.tar.gz
gsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.tar.bz2
gsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.tar.lz
gsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.tar.xz
gsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.tar.zst
gsoc2013-evolution-82de3a557cf3237c4e3244dc565ccee70a146f56.zip
make the segfault caused by double clicking into a critical warning until
2001-01-31 Larry Ewing <lewing@ximian.com> * e-table-item.c (view_to_model_col): make the segfault caused by double clicking into a critical warning until it can be fixed. svn path=/trunk/; revision=7927
-rw-r--r--widgets/table/e-table-item.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/table/e-table-item.c b/widgets/table/e-table-item.c
index e0543ca536..f0d7713123 100644
--- a/widgets/table/e-table-item.c
+++ b/widgets/table/e-table-item.c
@@ -125,6 +125,7 @@ inline static gint
view_to_model_col(ETableItem *eti, int col)
{
ETableCol *ecol = e_table_header_get_column (eti->header, col);
+ g_return_val_if_fail (ecol != NULL, -1);
return ecol->col_idx;
}