diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 01:41:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:52 +0800 |
commit | bb22e3b53a7dee35ac0e691e8ce8c96cbc34575a (patch) | |
tree | e38389039c5d08a47f2c1a71c4e6f59c73445827 /e-util | |
parent | 187fcd6653a00203d8575f591af0f406db05b034 (diff) | |
download | gsoc2013-evolution-bb22e3b53a7dee35ac0e691e8ce8c96cbc34575a.tar.gz gsoc2013-evolution-bb22e3b53a7dee35ac0e691e8ce8c96cbc34575a.tar.zst gsoc2013-evolution-bb22e3b53a7dee35ac0e691e8ce8c96cbc34575a.zip |
Remove unused e_tree_get_next_row().
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 27 | ||||
-rw-r--r-- | e-util/e-tree.h | 2 |
2 files changed, 0 insertions, 29 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index c09edf59dd..b01fd93743 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2052,33 +2052,6 @@ et_set_property (GObject *object, } gint -e_tree_get_next_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 < e_table_model_row_count (E_TABLE_MODEL (tree->priv->etta))) { - return e_sorter_sorted_to_model (E_SORTER (tree->priv->sorter), i); - } else - return -1; - } else { - gint row_count; - - row_count = e_table_model_row_count ( - E_TABLE_MODEL (tree->priv->etta)); - - if (model_row < row_count - 1) - return model_row + 1; - else - return -1; - } -} - -gint e_tree_get_prev_row (ETree *tree, gint model_row) { diff --git a/e-util/e-tree.h b/e-util/e-tree.h index c9f0877ea8..d4fdd2ed46 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_next_row (ETree *tree, - gint model_row); gint e_tree_get_prev_row (ETree *tree, gint model_row); gint e_tree_model_to_view_row (ETree *tree, |