[evolution] Remove e_tree_set_state().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove e_tree_set_state().
- Date: Tue, 2 Jul 2013 15:29:28 +0000 (UTC)
commit dfc653bb43a6311c04d7881c2d1b1642c081f839
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jul 1 15:22:15 2013 -0400
Remove e_tree_set_state().
No longer used.
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-tree.c | 26 --------------------
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 b8f51d6..b5014ca 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 690bd1f..b861fa6 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 cc8d582..1bf4033 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]