diff options
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-rw-r--r-- | e-util/e-tree.c | 27 | ||||
-rw-r--r-- | e-util/e-tree.h | 2 |
3 files changed, 0 insertions, 30 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index de85dbc6b0..2fe9611641 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_get_next_row e_tree_get_prev_row e_tree_model_to_view_row e_tree_view_to_model_row 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, |