diff options
author | Mike Kestner <mkestner@ximian.com> | 2003-03-05 23:21:09 +0800 |
---|---|---|
committer | Mike Kestner <mkestner@src.gnome.org> | 2003-03-05 23:21:09 +0800 |
commit | 5c97b1f7929c298316c9ced8eec3083de028cb2f (patch) | |
tree | 0629e2d49c38969e354d0af53ebc11dd7ee6792e /widgets | |
parent | 0cc70ca0f7775bca0bd6a707af7788fa934aabda (diff) | |
download | gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.tar gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.tar.gz gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.tar.bz2 gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.tar.lz gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.tar.xz gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.tar.zst gsoc2013-evolution-5c97b1f7929c298316c9ced8eec3083de028cb2f.zip |
fix a couple ==TRUE uses pointed out by Morten Welinder <terra@diku.dk>.
2003-03-05 Mike Kestner <mkestner@ximian.com>
* e-tree-model.c : fix a couple ==TRUE uses pointed out by
Morten Welinder <terra@diku.dk>.
svn path=/trunk/; revision=20169
Diffstat (limited to 'widgets')
-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); |