aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2002-09-20 01:20:21 +0800
committerMike Kestner <mkestner@src.gnome.org>2002-09-20 01:20:21 +0800
commit939ed95a486a461c55eda6596a15eab2e4e9b166 (patch)
tree06ea7b12dc2220050f64147bec286c2001d1039e
parente5775b9f555c8a4215c766e80caabfd882745abf (diff)
downloadgsoc2013-evolution-939ed95a486a461c55eda6596a15eab2e4e9b166.tar.gz
gsoc2013-evolution-939ed95a486a461c55eda6596a15eab2e4e9b166.tar.zst
gsoc2013-evolution-939ed95a486a461c55eda6596a15eab2e4e9b166.zip
guard against NULL nodes.
2002-09-18 Mike Kestner <mkestner@ximian.com> * e-tree-model.c (e_tree_model_is_expandable): guard against NULL nodes. svn path=/trunk/; revision=18118
-rw-r--r--widgets/table/e-tree-model.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c
index 725b4f02fd..193a79914d 100644
--- a/widgets/table/e-tree-model.c
+++ b/widgets/table/e-tree-model.c
@@ -564,6 +564,7 @@ gboolean
e_tree_model_node_is_expandable (ETreeModel *etree, ETreePath node)
{
g_return_val_if_fail(etree != NULL, FALSE);
+ g_return_val_if_fail(node != NULL, FALSE);
if (ETM_CLASS(etree)->is_expandable)
return ETM_CLASS(etree)->is_expandable(etree, node);