From 4d5c0ce60eecc38f013a50fd53daeca53f81dfda Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 1 Jul 2013 16:09:08 -0400 Subject: Remove e_tree_get_state(). No longer used. --- e-util/e-tree.c | 22 ---------------------- e-util/e-tree.h | 1 - 2 files changed, 23 deletions(-) (limited to 'e-util') diff --git a/e-util/e-tree.c b/e-util/e-tree.c index c7c6b870a8..690bd1ff6e 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -1419,28 +1419,6 @@ e_tree_get_state_object (ETree *tree) return state; } -/** - * e_tree_get_state: - * @tree: The #ETree to act on - * - * Builds a state object based on the current state and returns the - * string corresponding to that state. - * - * Return value: - * A string describing the current state of the #ETree. - **/ -gchar * -e_tree_get_state (ETree *tree) -{ - ETableState *state; - gchar *string; - - state = e_tree_get_state_object (tree); - string = e_table_state_save_to_string (state); - g_object_unref (state); - return string; -} - /** * e_tree_get_spec: * @tree: The #ETree to query diff --git a/e-util/e-tree.h b/e-util/e-tree.h index e88c2e0b47..cc8d582ba5 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -181,7 +181,6 @@ GtkWidget * e_tree_new (ETreeModel *etm, ETableSpecification *specification); /* To save the state */ -gchar * e_tree_get_state (ETree *tree); ETableState * e_tree_get_state_object (ETree *tree); ETableSpecification * e_tree_get_spec (ETree *tree); -- cgit v1.2.3