aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-20 11:05:40 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:50 +0800
commitde9391e246bcbf1ff5734e47eccec07bdc4113b8 (patch)
treecf59f9fc93a2a82a8943e15d9dff4a99a50fd483 /e-util
parent31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9 (diff)
downloadgsoc2013-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.c12
-rw-r--r--e-util/e-tree.h3
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);