diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-07-06 00:38:59 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-07-06 00:38:59 +0800 |
commit | b0be7c3db2510c0d836c5cf1138588cb9810b974 (patch) | |
tree | b5f5666e6dea0eb3438a6bb63168de87bc741604 /widgets | |
parent | 29344f2ea86d3ea81bd5686728e7c4045062a0aa (diff) | |
download | gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.tar gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.tar.gz gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.tar.bz2 gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.tar.lz gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.tar.xz gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.tar.zst gsoc2013-evolution-b0be7c3db2510c0d836c5cf1138588cb9810b974.zip |
Added checks that row and col are >= 0.
2001-07-05 Christopher James Lahey <clahey@ximian.com>
* e-tree.c (e_tree_get_cell_geometry): Added checks that row and
col are >= 0.
svn path=/trunk/; revision=10809
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/e-tree.c | 2 |
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. */ |