diff options
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-rw-r--r-- | e-util/e-tree-model.c | 35 | ||||
-rw-r--r-- | e-util/e-tree-model.h | 5 |
3 files changed, 0 insertions, 41 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index 7ed1d8931a..a1c0ed59ce 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4367,7 +4367,6 @@ e_tree_model_value_is_empty e_tree_model_value_to_string ETreePathFunc e_tree_model_node_traverse -e_tree_model_node_traverse_preorder e_tree_model_node_find e_tree_model_pre_change e_tree_model_no_change 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, |