diff options
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-rw-r--r-- | e-util/e-tree.c | 26 | ||||
-rw-r--r-- | e-util/e-tree.h | 2 |
3 files changed, 0 insertions, 29 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index b8f51d6dcb..b5014cabce 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4112,7 +4112,6 @@ e_tree_construct e_tree_new e_tree_get_state_object e_tree_get_spec -e_tree_set_state e_tree_set_state_object e_tree_show_cursor_after_reflow e_tree_set_cursor diff --git a/e-util/e-tree.c b/e-util/e-tree.c index 690bd1ff6e..b861fa6ca1 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -1343,32 +1343,6 @@ e_tree_set_state_object (ETree *tree, } /** - * e_tree_set_state: - * @tree: #ETree object that will be modified - * @state_str: a string with the XML representation of the #ETableState. - * - * This routine sets the state (as described by #ETableState) of the - * #ETree object. - */ -void -e_tree_set_state (ETree *tree, - const gchar *state_str) -{ - ETableState *state; - - g_return_if_fail (E_IS_TREE (tree)); - g_return_if_fail (state_str != NULL); - - state = e_table_state_new (tree->priv->spec); - e_table_state_load_from_string (state, state_str); - - if (state->col_count > 0) - e_tree_set_state_object (tree, state); - - g_object_unref (state); -} - -/** * e_tree_get_state_object: * @tree: #ETree object to act on * diff --git a/e-util/e-tree.h b/e-util/e-tree.h index cc8d582ba5..1bf403347b 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -186,8 +186,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_state (ETree *tree, - const gchar *state_str); void e_tree_set_state_object (ETree *tree, ETableState *state); void e_tree_show_cursor_after_reflow (ETree *tree); |