diff options
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-tree-model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-tree-model.c b/widgets/table/e-tree-model.c index 242d5b4269..6ca0e17af9 100644 --- a/widgets/table/e-tree-model.c +++ b/widgets/table/e-tree-model.c @@ -947,7 +947,7 @@ e_tree_model_node_traverse (ETreeModel *model, ETreePath path, ETreePathFunc fun next_child = e_tree_model_node_get_next (model, child); e_tree_model_node_traverse (model, child, func, data); - if (func (model, child, data) == TRUE) + if (func (model, child, data)) return; child = next_child; @@ -977,7 +977,7 @@ e_tree_model_node_traverse_preorder (ETreeModel *model, ETreePath path, ETreePat while (child) { ETreePath next_child; - if (func (model, child, data) == TRUE) + if (func (model, child, data)) return; next_child = e_tree_model_node_get_next (model, child); |