diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-20 11:05:40 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:50 +0800 |
commit | de9391e246bcbf1ff5734e47eccec07bdc4113b8 (patch) | |
tree | cf59f9fc93a2a82a8943e15d9dff4a99a50fd483 /e-util | |
parent | 31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9 (diff) | |
download | gsoc2013-evolution-de9391e246bcbf1ff5734e47eccec07bdc4113b8.tar.gz gsoc2013-evolution-de9391e246bcbf1ff5734e47eccec07bdc4113b8.tar.zst gsoc2013-evolution-de9391e246bcbf1ff5734e47eccec07bdc4113b8.zip |
Remove e_tree_selected_path_foreach().
Reducing API bloat. Do this instead:
selection = (ETreeSelectionModel *) e_tree_get_selection_model (tree);
e_tree_selection_model_foreach (selection, callback, closure);
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 12 | ||||
-rw-r--r-- | e-util/e-tree.h | 3 |
2 files changed, 0 insertions, 15 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index be43ffad18..bf6c1ab59b 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -1909,18 +1909,6 @@ e_tree_get_cursor (ETree *tree) E_TREE_SELECTION_MODEL (tree->priv->selection)); } -void -e_tree_selected_path_foreach (ETree *tree, - ETreeForeachFunc callback, - gpointer closure) -{ - g_return_if_fail (E_IS_TREE (tree)); - - e_tree_selection_model_foreach ( - E_TREE_SELECTION_MODEL (tree->priv->selection), - callback, closure); -} - /* Standard functions */ static void et_foreach_recurse (ETreeModel *model, diff --git a/e-util/e-tree.h b/e-util/e-tree.h index 50fbbb6e54..5257996a8c 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -217,9 +217,6 @@ void e_tree_set_cursor (ETree *tree, /* NULL means we don't have the cursor. */ ETreePath e_tree_get_cursor (ETree *tree); -void e_tree_selected_path_foreach (ETree *tree, - ETreeForeachFunc callback, - gpointer closure); void e_tree_path_foreach (ETree *tree, ETreeForeachFunc callback, gpointer closure); |