aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-02 03:22:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-02 22:34:12 +0800
commitdfc653bb43a6311c04d7881c2d1b1642c081f839 (patch)
tree7025cd416802013ece7e58c7dd5628a2f2737c96
parent4d5c0ce60eecc38f013a50fd53daeca53f81dfda (diff)
downloadgsoc2013-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.
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-tree.c26
-rw-r--r--e-util/e-tree.h2
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);