From 31c6240eeba58231acd5c14e1a8b6e50d0bdcfb9 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 19 Jun 2013 22:09:07 -0400 Subject: 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); --- e-util/e-tree.c | 12 ------------ e-util/e-tree.h | 3 --- 2 files changed, 15 deletions(-) (limited to 'e-util') 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 @@ -1909,18 +1909,6 @@ e_tree_get_cursor (ETree *tree) E_TREE_SELECTION_MODEL (tree->priv->selection)); } -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, 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); -- cgit