aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-table.c26
-rw-r--r--e-util/e-table.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 ca1299b207..6cff3e78f7 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -3316,7 +3316,6 @@ e_table_construct
e_table_new
e_table_save_state
e_table_get_state_object
-e_table_set_state
e_table_set_state_object
e_table_load_state
e_table_set_cursor_row
diff --git a/e-util/e-table.c b/e-util/e-table.c
index c8a8417e5e..9d6db60222 100644
--- a/e-util/e-table.c
+++ b/e-util/e-table.c
@@ -1612,32 +1612,6 @@ e_table_set_state_object (ETable *e_table,
}
/**
- * e_table_set_state:
- * @e_table: The #ETable object to modify
- * @state_str: a string representing an #ETableState
- *
- * This routine sets the state of the #ETable from a string.
- *
- **/
-void
-e_table_set_state (ETable *e_table,
- const gchar *state_str)
-{
- ETableState *state;
-
- g_return_if_fail (E_IS_TABLE (e_table));
- g_return_if_fail (state_str != NULL);
-
- state = e_table_state_new (e_table->spec);
- e_table_state_load_from_string (state, state_str);
-
- if (state->col_count > 0)
- e_table_set_state_object (e_table, state);
-
- g_object_unref (state);
-}
-
-/**
* e_table_load_state:
* @e_table: The #ETable object to modify
* @filename: name of the file to use
diff --git a/e-util/e-table.h b/e-util/e-table.h
index 3f2742bb89..c63b67a070 100644
--- a/e-util/e-table.h
+++ b/e-util/e-table.h
@@ -281,8 +281,6 @@ void e_table_save_state (ETable *e_table,
ETableState * e_table_get_state_object (ETable *e_table);
/* note that it is more efficient to provide the state at creation time */
-void e_table_set_state (ETable *e_table,
- const gchar *state_str);
void e_table_set_state_object (ETable *e_table,
ETableState *state);
void e_table_load_state (ETable *e_table,