diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 01:42:20 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:52 +0800 |
commit | 05f69aaec0f66e8d75717a1e3f211db84aaf45cb (patch) | |
tree | 00324d629acbd36729b147509dffa0f355060f61 /e-util | |
parent | bb22e3b53a7dee35ac0e691e8ce8c96cbc34575a (diff) | |
download | gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.tar gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.tar.gz gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.tar.bz2 gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.tar.lz gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.tar.xz gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.tar.zst gsoc2013-evolution-05f69aaec0f66e8d75717a1e3f211db84aaf45cb.zip |
Remove unused e_tree_get_prev_row().
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 18 | ||||
-rw-r--r-- | e-util/e-tree.h | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index b01fd93743..a2b6a760e9 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2052,24 +2052,6 @@ et_set_property (GObject *object, } gint -e_tree_get_prev_row (ETree *tree, - gint model_row) -{ - g_return_val_if_fail (E_IS_TREE (tree), -1); - - if (tree->priv->sorter) { - gint i; - i = e_sorter_model_to_sorted (E_SORTER (tree->priv->sorter), model_row); - i--; - if (i >= 0) - return e_sorter_sorted_to_model (E_SORTER (tree->priv->sorter), i); - else - return -1; - } else - return model_row - 1; -} - -gint e_tree_model_to_view_row (ETree *tree, gint model_row) { diff --git a/e-util/e-tree.h b/e-util/e-tree.h index d4fdd2ed46..6c8cd1ef2b 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_get_prev_row (ETree *tree, - gint model_row); gint e_tree_model_to_view_row (ETree *tree, gint model_row); gint e_tree_view_to_model_row (ETree *tree, |