aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-20 10:09:07 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:50 +0800
commit31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9 (patch)
tree86f7a16c1e7b6965dc3d519acfda5eee17568972 /e-util
parent202fbf6580bfe766bc558d7c827e1591969ce30b (diff)
downloadgsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.tar
gsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.tar.gz
gsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.tar.bz2
gsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.tar.lz
gsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.tar.xz
gsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.tar.zst
gsoc2013-evolution-31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9.zip
Remove e_tree_selected_row_foreach().
Reducing API bloat. Do this instead: selection = (ESelectionModel *) e_tree_get_selection_model (tree); e_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 5ed2e007df..be43ffad18 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -1910,18 +1910,6 @@ e_tree_get_cursor (ETree *tree)
}
void
-e_tree_selected_row_foreach (ETree *tree,
- EForeachFunc callback,
- gpointer closure)
-{
- g_return_if_fail (E_IS_TREE (tree));
-
- e_selection_model_foreach (tree->priv->selection,
- callback,
- closure);
-}
-
-void
e_tree_selected_path_foreach (ETree *tree,
ETreeForeachFunc callback,
gpointer closure)
diff --git a/e-util/e-tree.h b/e-util/e-tree.h
index 6882668f30..50fbbb6e54 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_row_foreach (ETree *tree,
- EForeachFunc callback,
- gpointer closure);
void e_tree_selected_path_foreach (ETree *tree,
ETreeForeachFunc callback,
gpointer closure);