[evolution] Remove unused e_tree_save_state().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_tree_save_state().
- Date: Thu, 20 Jun 2013 19:43:19 +0000 (UTC)
commit 9a4aed9785fa68323211744c4ae6a860db73d037
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jun 20 13:37:00 2013 -0400
Remove unused e_tree_save_state().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-tree.c | 19 -------------------
e-util/e-tree.h | 2 --
3 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt
b/doc/reference/evolution-util/evolution-util-sections.txt
index b230bdf..6f877bd 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4182,7 +4182,6 @@ e_tree_new
e_tree_construct_from_spec_file
e_tree_new_from_spec_file
e_tree_get_state
-e_tree_save_state
e_tree_get_state_object
e_tree_get_spec
e_tree_set_search_column
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index 7ae1283..7b7c269 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -1471,25 +1471,6 @@ e_tree_get_state (ETree *tree)
}
/**
- * e_tree_save_state:
- * @e_tree: The #ETree to act on
- * @filename: name of the file to save to
- *
- * Saves the state of the @e_tree object into the file pointed by
- * @filename.
- **/
-void
-e_tree_save_state (ETree *tree,
- const gchar *filename)
-{
- ETableState *state;
-
- state = e_tree_get_state_object (tree);
- e_table_state_save_to_file (state, filename);
- g_object_unref (state);
-}
-
-/**
* e_tree_get_spec:
* @e_tree: The #ETree to query
*
diff --git a/e-util/e-tree.h b/e-util/e-tree.h
index 5db26b4..f6339d2 100644
--- a/e-util/e-tree.h
+++ b/e-util/e-tree.h
@@ -195,8 +195,6 @@ GtkWidget * e_tree_new_from_spec_file (ETreeModel *etm,
/* To save the state */
gchar * e_tree_get_state (ETree *tree);
-void e_tree_save_state (ETree *tree,
- const gchar *filename);
ETableState * e_tree_get_state_object (ETree *tree);
ETableSpecification *
e_tree_get_spec (ETree *tree);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]