aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
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,