aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-cell-text.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-14 00:57:15 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-14 00:57:15 +0800
commit2e19c1630acc12875081163e20ddd9538dafd741 (patch)
treef643f601a25df5dc40821365b864d6d00e450c0e /widgets/e-table/e-cell-text.c
parent2a3293368b73945c2b55f160745cb2d98b4bcee6 (diff)
downloadgsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.tar
gsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.tar.gz
gsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.tar.bz2
gsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.tar.lz
gsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.tar.xz
gsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.tar.zst
gsoc2013-evolution-2e19c1630acc12875081163e20ddd9538dafd741.zip
Fixed a crashing bug when you cancel an edit.
2000-03-13 Christopher James Lahey <clahey@helixcode.com> * e-cell-text.c: Fixed a crashing bug when you cancel an edit. svn path=/trunk/; revision=2113
Diffstat (limited to 'widgets/e-table/e-cell-text.c')
-rw-r--r--widgets/e-table/e-cell-text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/e-table/e-cell-text.c b/widgets/e-table/e-cell-text.c
index 422b27ff93..91ead8d798 100644
--- a/widgets/e-table/e-cell-text.c
+++ b/widgets/e-table/e-cell-text.c
@@ -234,6 +234,9 @@ ect_stop_editing (ECellTextView *text_view)
CellEdit *edit = text_view->edit;
int row, view_col;
+ if ( !edit )
+ return;
+
row = edit->cell.row;
view_col = edit->cell.view_col;