aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-03-22 18:32:28 +0800
committerChris Lahey <clahey@src.gnome.org>2001-03-22 18:32:28 +0800
commit7aee2da177ed7eb902537e9d5d88baaeefdc36b5 (patch)
tree5b2fa539d3832ba819c48409149426520c7ca987 /widgets/table
parent65d31b5b24719ee9d5e16459d102b2f93ec87d3f (diff)
downloadgsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.tar
gsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.tar.gz
gsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.tar.bz2
gsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.tar.lz
gsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.tar.xz
gsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.tar.zst
gsoc2013-evolution-7aee2da177ed7eb902537e9d5d88baaeefdc36b5.zip
Fixed the g_return_if_fail here to allow for appending.
2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory.c (e_table_memory_insert): Fixed the g_return_if_fail here to allow for appending. svn path=/trunk/; revision=8889
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/table/e-table-memory.c b/widgets/table/e-table-memory.c
index 33ac959283..1a95a07deb 100644
--- a/widgets/table/e-table-memory.c
+++ b/widgets/table/e-table-memory.c
@@ -175,7 +175,7 @@ e_table_memory_insert (ETableMemory *etmm,
gpointer data)
{
g_return_if_fail(row >= -1);
- g_return_if_fail(row < etmm->priv->num_rows);
+ g_return_if_fail(row <= etmm->priv->num_rows);
if (!etmm->priv->frozen)
e_table_model_pre_change(E_TABLE_MODEL(etmm));