aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-21 03:41:18 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2006-08-21 03:41:18 +0800
commitf210c6ef1e5425c4c23b34f2e6b81f63c7b68c61 (patch)
tree854c745be51c06a2c0a75321441bca9fcf4a8b39 /widgets/table/e-cell-text.c
parent84779196fa3510e4d2fbf53b7a2dfcc1575b39c4 (diff)
downloadgsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.tar
gsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.tar.gz
gsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.tar.bz2
gsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.tar.lz
gsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.tar.xz
gsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.tar.zst
gsoc2013-evolution-f210c6ef1e5425c4c23b34f2e6b81f63c7b68c61.zip
Fix for bug 347430
svn path=/trunk/; revision=32603
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 0de23751fd..848c96c022 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -969,7 +969,7 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col,
edit->show_cursor = FALSE;
} else {
- if (edit->im_context) {
+ if (edit && edit->im_context) {
g_signal_handlers_disconnect_matched (
edit->im_context,
G_SIGNAL_MATCH_DATA, 0, 0,
@@ -978,10 +978,6 @@ ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col,
}
ect_stop_editing (text_view, TRUE);
- if (edit->timeout_id) {
- g_source_remove(edit->timeout_id);
- edit->timeout_id = 0;
- }
}
return_val = TRUE;
/* Fallthrough */