aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-tree.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c
index e5b83b92e1..7823c055f9 100644
--- a/widgets/table/e-tree.c
+++ b/widgets/table/e-tree.c
@@ -1822,6 +1822,8 @@ e_tree_get_cell_geometry (ETree *tree,
{
g_return_if_fail (tree != NULL);
g_return_if_fail (E_IS_TREE (tree));
+ g_return_if_fail (row >= 0);
+ g_return_if_fail (col >= 0);
/* FIXME it would be nice if it could handle a NULL row_return or
* col_return gracefully. */