aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-21 01:43:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:53 +0800
commitce4a2a7748d60ec828ec03c82b8993c9251c0340 (patch)
tree478391f047a90813b6e3f967eb8aa3fec70ce5e9
parent05f69aaec0f66e8d75717a1e3f211db84aaf45cb (diff)
downloadgsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.gz
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.bz2
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.lz
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.xz
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.zst
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.zip
Remove unused e_tree_model_to_view_row().
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-tree.c12
-rw-r--r--e-util/e-tree.h2
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 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
@@ -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 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,