aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-21 01:37:00 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:52 +0800
commit9a4aed9785fa68323211744c4ae6a860db73d037 (patch)
tree8d97f999a34206fa25a7d1e8ac9b08281a3ce4e3 /e-util
parent6abeaa322335645149113e406f85a3a1b75a19f1 (diff)
downloadgsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.tar
gsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.tar.gz
gsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.tar.bz2
gsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.tar.lz
gsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.tar.xz
gsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.tar.zst
gsoc2013-evolution-9a4aed9785fa68323211744c4ae6a860db73d037.zip
Remove unused e_tree_save_state().
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree.c19
-rw-r--r--e-util/e-tree.h2
2 files changed, 0 insertions, 21 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index 7ae12831a2..7b7c2698a2 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 5db26b460c..f6339d2391 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);