diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 03:22:15 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:12 +0800 |
commit | dfc653bb43a6311c04d7881c2d1b1642c081f839 (patch) | |
tree | 7025cd416802013ece7e58c7dd5628a2f2737c96 /e-util | |
parent | 4d5c0ce60eecc38f013a50fd53daeca53f81dfda (diff) | |
download | gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.tar gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.tar.gz gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.tar.bz2 gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.tar.lz gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.tar.xz gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.tar.zst gsoc2013-evolution-dfc653bb43a6311c04d7881c2d1b1642c081f839.zip |
Remove e_tree_set_state().
No longer used.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 26 | ||||
-rw-r--r-- | e-util/e-tree.h | 2 |
2 files changed, 0 insertions, 28 deletions
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); |