aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:02:56 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:53 +0800
commit794bf75c9eeb0cc91837ea3ccff92792ecae88a6 (patch)
tree01d7ba128218e770e27f4be3b2e2bab03035e85f
parent27e326c80fc40e9e99ecc4a2c6c3bf744d370e61 (diff)
downloadgsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.tar
gsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.tar.gz
gsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.tar.bz2
gsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.tar.lz
gsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.tar.xz
gsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.tar.zst
gsoc2013-evolution-794bf75c9eeb0cc91837ea3ccff92792ecae88a6.zip
Remove e_tree_view_to_model_row().
Now that ETree no longer has an ESorter, this function is silly.
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-tree.c11
-rw-r--r--e-util/e-tree.h2
3 files changed, 0 insertions, 14 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index eede4cb59f..67b961e6be 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4189,7 +4189,6 @@ e_tree_show_cursor_after_reflow
e_tree_set_cursor
e_tree_get_cursor
e_tree_path_foreach
-e_tree_view_to_model_row
e_tree_get_cell_at
e_tree_get_cell_geometry
e_tree_get_model
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index 2aea98935a..2b95b6fd2c 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -972,7 +972,6 @@ item_key_press (ETableItem *eti,
row_local = e_table_model_row_count (
E_TABLE_MODEL (tree->priv->etta)) - 1;
- row_local = e_tree_view_to_model_row (tree, row_local);
col_local = e_selection_model_cursor_col (
E_SELECTION_MODEL (tree->priv->selection));
e_selection_model_select_as_key_press (
@@ -991,7 +990,6 @@ item_key_press (ETableItem *eti,
row_local = e_table_model_row_count (
E_TABLE_MODEL (tree->priv->etta)) - 1;
- row_local = e_tree_view_to_model_row (tree, row_local);
col_local = e_selection_model_cursor_col (
E_SELECTION_MODEL (tree->priv->selection));
e_selection_model_select_as_key_press (
@@ -2042,15 +2040,6 @@ et_set_property (GObject *object,
}
}
-gint
-e_tree_view_to_model_row (ETree *tree,
- gint view_row)
-{
- g_return_val_if_fail (E_IS_TREE (tree), -1);
-
- return view_row;
-}
-
/**
* e_tree_get_model:
* @et: the ETree
diff --git a/e-util/e-tree.h b/e-util/e-tree.h
index 98b292a33f..a443c94324 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_view_to_model_row (ETree *tree,
- gint view_row);
void e_tree_get_cell_at (ETree *tree,
gint x,
gint y,