aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
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 /e-util
parent05f69aaec0f66e8d75717a1e3f211db84aaf45cb (diff)
downloadgsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.gz
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.tar.zst
gsoc2013-evolution-ce4a2a7748d60ec828ec03c82b8993c9251c0340.zip
Remove unused e_tree_model_to_view_row().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree.c12
-rw-r--r--e-util/e-tree.h2
2 files changed, 0 insertions, 14 deletions
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,