diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 01:40:32 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:52 +0800 |
commit | e6dfce71e8c41384b2126bf11b8eceff9b166e60 (patch) | |
tree | 718d72119136c17f00f78247df9e85e1d253d153 | |
parent | a5af202855d235ba5afe4c1ae37747a451fe3fee (diff) | |
download | gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.tar gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.tar.gz gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.tar.bz2 gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.tar.lz gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.tar.xz gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.tar.zst gsoc2013-evolution-e6dfce71e8c41384b2126bf11b8eceff9b166e60.zip |
Remove unused e_tree_load_state().
-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 05a61ab68d..e43a60c1d9 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4186,7 +4186,6 @@ e_tree_get_state_object e_tree_get_spec e_tree_set_state e_tree_set_state_object -e_tree_load_state e_tree_show_cursor_after_reflow e_tree_set_cursor e_tree_get_cursor diff --git a/e-util/e-tree.c b/e-util/e-tree.c index ea90c879d4..e9d4183a79 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -1359,32 +1359,6 @@ e_tree_set_state (ETree *tree, } /** - * e_tree_load_state: - * @e_tree: #ETree object that will be modified - * @filename: name of the file containing the state to be loaded into the #ETree - * - * An #ETableState will be loaded form the file pointed by @filename into the - * @e_tree object. - */ -void -e_tree_load_state (ETree *tree, - const gchar *filename) -{ - ETableState *state; - - g_return_if_fail (E_IS_TREE (tree)); - g_return_if_fail (filename != NULL); - - state = e_table_state_new (); - e_table_state_load_from_file (state, filename); - - if (state->col_count > 0) - e_tree_set_state_object (tree, state); - - g_object_unref (state); -} - -/** * e_tree_get_state_object: * @e_tree: #ETree object to act on * diff --git a/e-util/e-tree.h b/e-util/e-tree.h index d61a24830c..cfa52a0dd8 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -204,8 +204,6 @@ void e_tree_set_state (ETree *tree, const gchar *state_str); void e_tree_set_state_object (ETree *tree, ETableState *state); -void e_tree_load_state (ETree *tree, - const gchar *filename); void e_tree_show_cursor_after_reflow (ETree *tree); void e_tree_set_cursor (ETree *tree, |