From a5af202855d235ba5afe4c1ae37747a451fe3fee Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 20 Jun 2013 13:39:50 -0400 Subject: Remove unused e_tree_set_search_column(). --- e-util/e-tree.c | 23 ----------------------- e-util/e-tree.h | 2 -- 2 files changed, 25 deletions(-) (limited to 'e-util') diff --git a/e-util/e-tree.c b/e-util/e-tree.c index 7b7c2698a2..ea90c879d4 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 f6339d2391..d61a24830c 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, -- cgit v1.2.3