aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 23:12:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 23:12:39 +0800
commit2ec5459b75d1e0e943e6f539f2d1b8e8e3fb6bc2 (patch)
tree7eb102e54095e9a53daaeb16a566b5a2382a6a58 /e-util
parentf1ee71f71f9af35fba479fe3d74d82ddaecebd66 (diff)
downloadgsoc2013-evolution-2ec5459b75d1e0e943e6f539f2d1b8e8e3fb6bc2.tar.gz
gsoc2013-evolution-2ec5459b75d1e0e943e6f539f2d1b8e8e3fb6bc2.tar.zst
gsoc2013-evolution-2ec5459b75d1e0e943e6f539f2d1b8e8e3fb6bc2.zip
Remove unused e_tree_model_node_traverse_preorder().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree-model.c35
-rw-r--r--e-util/e-tree-model.h5
2 files changed, 0 insertions, 40 deletions
diff --git a/e-util/e-tree-model.c b/e-util/e-tree-model.c
index 6431f886e3..c06fe07656 100644
--- a/e-util/e-tree-model.c
+++ b/e-util/e-tree-model.c
@@ -962,41 +962,6 @@ e_tree_model_node_traverse (ETreeModel *tree_model,
}
}
-/**
- * e_tree_model_node_traverse_preorder:
- * @tree_model:
- * @path:
- * @func:
- * @data:
- *
- *
- **/
-void
-e_tree_model_node_traverse_preorder (ETreeModel *tree_model,
- ETreePath path,
- ETreePathFunc func,
- gpointer data)
-{
- ETreePath child;
-
- g_return_if_fail (E_IS_TREE_MODEL (tree_model));
- g_return_if_fail (path != NULL);
-
- child = e_tree_model_node_get_first_child (tree_model, path);
-
- while (child) {
- ETreePath next_child;
-
- if (func (tree_model, child, data))
- return;
-
- next_child = e_tree_model_node_get_next (tree_model, child);
- e_tree_model_node_traverse_preorder (tree_model, child, func, data);
-
- child = next_child;
- }
-}
-
static ETreePath
e_tree_model_node_real_traverse (ETreeModel *model,
ETreePath path,
diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h
index 1911f76e7a..068b23ffb2 100644
--- a/e-util/e-tree-model.h
+++ b/e-util/e-tree-model.h
@@ -243,11 +243,6 @@ void e_tree_model_node_traverse (ETreeModel *tree_model,
ETreePath path,
ETreePathFunc func,
gpointer data);
-void e_tree_model_node_traverse_preorder
- (ETreeModel *tree_model,
- ETreePath path,
- ETreePathFunc func,
- gpointer data);
ETreePath e_tree_model_node_find (ETreeModel *tree_model,
ETreePath path,
ETreePath end_path,