aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-31 04:12:57 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-31 04:12:57 +0800
commit6922ceef9e0b05a3329ca0e7cfcbca68e29f9144 (patch)
tree96ee636034760c488e53210e4bda0ff10270ba27 /widgets/table/e-table.c
parent0c26a779918ea2188d2944f17e0213862acef21b (diff)
downloadgsoc2013-evolution-6922ceef9e0b05a3329ca0e7cfcbca68e29f9144.tar.gz
gsoc2013-evolution-6922ceef9e0b05a3329ca0e7cfcbca68e29f9144.tar.zst
gsoc2013-evolution-6922ceef9e0b05a3329ca0e7cfcbca68e29f9144.zip
Remove point handler and just let GnomeCanvasGroup handle it.
2001-10-30 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (etcta_class_init): Remove point handler and just let GnomeCanvasGroup handle it. * e-table.c (e_table_commit_click_to_add): Don't commit the click_to_add if there's no click_to_add to commit. svn path=/trunk/; revision=14476
Diffstat (limited to 'widgets/table/e-table.c')
-rw-r--r--widgets/table/e-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c
index 2e3efdc05c..ad0bc54855 100644
--- a/widgets/table/e-table.c
+++ b/widgets/table/e-table.c
@@ -1503,7 +1503,8 @@ e_table_right_click_up (ETable *table)
void
e_table_commit_click_to_add (ETable *table)
{
- e_table_click_to_add_commit(E_TABLE_CLICK_TO_ADD(table->click_to_add));
+ if (table->click_to_add)
+ e_table_click_to_add_commit(E_TABLE_CLICK_TO_ADD(table->click_to_add));
}
static void