[evolution] Remove unused e_tree_model_to_view_row().



commit ce4a2a7748d60ec828ec03c82b8993c9251c0340
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Jun 20 13:43:01 2013 -0400

    Remove unused e_tree_model_to_view_row().

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/e-tree.c                                    |   12 ------------
 e-util/e-tree.h                                    |    2 --
 3 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt 
b/doc/reference/evolution-util/evolution-util-sections.txt
index b1cc0da..54da639 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 a2b6a76..be5efd7 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -2052,18 +2052,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 6c8cd1e..a040c60 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]