From ce4a2a7748d60ec828ec03c82b8993c9251c0340 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 20 Jun 2013 13:43:01 -0400 Subject: Remove unused e_tree_model_to_view_row(). --- doc/reference/evolution-util/evolution-util-sections.txt | 1 - e-util/e-tree.c | 12 ------------ e-util/e-tree.h | 2 -- 3 files changed, 15 deletions(-) diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index b1cc0da4de..54da639b61 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4190,7 +4190,6 @@ e_tree_show_cursor_after_reflow e_tree_set_cursor e_tree_get_cursor e_tree_path_foreach -e_tree_model_to_view_row e_tree_view_to_model_row e_tree_get_cell_at e_tree_get_cell_geometry diff --git a/e-util/e-tree.c b/e-util/e-tree.c index a2b6a760e9..be5efd76fc 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2051,18 +2051,6 @@ et_set_property (GObject *object, } } -gint -e_tree_model_to_view_row (ETree *tree, - gint model_row) -{ - g_return_val_if_fail (E_IS_TREE (tree), -1); - - if (tree->priv->sorter) - return e_sorter_model_to_sorted (E_SORTER (tree->priv->sorter), model_row); - else - return model_row; -} - gint e_tree_view_to_model_row (ETree *tree, gint view_row) diff --git a/e-util/e-tree.h b/e-util/e-tree.h index 6c8cd1ef2b..a040c601d9 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -214,8 +214,6 @@ ETreePath e_tree_get_cursor (ETree *tree); void e_tree_path_foreach (ETree *tree, ETreeForeachFunc callback, gpointer closure); -gint e_tree_model_to_view_row (ETree *tree, - gint model_row); gint e_tree_view_to_model_row (ETree *tree, gint view_row); void e_tree_get_cell_at (ETree *tree, -- cgit v1.2.3