[evolution] Remove unused e_tree_set_search_column().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_tree_set_search_column().
- Date: Thu, 20 Jun 2013 19:43:24 +0000 (UTC)
commit a5af202855d235ba5afe4c1ae37747a451fe3fee
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jun 20 13:39:50 2013 -0400
Remove unused e_tree_set_search_column().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-tree.c | 23 --------------------
e-util/e-tree.h | 2 -
3 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt
b/doc/reference/evolution-util/evolution-util-sections.txt
index 6f877bd..05a61ab 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4184,7 +4184,6 @@ e_tree_new_from_spec_file
e_tree_get_state
e_tree_get_state_object
e_tree_get_spec
-e_tree_set_search_column
e_tree_set_state
e_tree_set_state_object
e_tree_load_state
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index 7b7c269..ea90c87 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -1292,29 +1292,6 @@ e_tree_setup_table (ETree *tree)
et_build_item (tree);
}
-/**
- * e_tree_set_search_column:
- * @e_tree: #ETree object that will be modified
- * @col: Column index to use for searches
- *
- * This routine sets the current search column to be used for keypress
- * searches of the #ETree. If -1 is passed in for column, the current
- * search column is cleared.
- */
-void
-e_tree_set_search_column (ETree *tree,
- gint col)
-{
- if (col == -1) {
- clear_current_search_col (tree);
- return;
- }
-
- tree->priv->search_col_set = TRUE;
- tree->priv->current_search_col = e_table_header_get_column (
- tree->priv->full_header, col);
-}
-
void
e_tree_set_state_object (ETree *tree,
ETableState *state)
diff --git a/e-util/e-tree.h b/e-util/e-tree.h
index f6339d2..d61a248 100644
--- a/e-util/e-tree.h
+++ b/e-util/e-tree.h
@@ -200,8 +200,6 @@ ETableSpecification *
e_tree_get_spec (ETree *tree);
/* note that it is more efficient to provide the state at creation time */
-void e_tree_set_search_column (ETree *tree,
- gint col);
void e_tree_set_state (ETree *tree,
const gchar *state_str);
void e_tree_set_state_object (ETree *tree,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]