diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 03:01:24 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:12 +0800 |
commit | 3d1514fb67f191d54d2c474d6e364ec6aab76446 (patch) | |
tree | 213137cf15a6d446768a3c1c1dab9f35dd0d7cc9 /e-util | |
parent | 058c39cd611960c2b0ed0b76f615d603fb44a7e3 (diff) | |
download | gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.tar gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.tar.gz gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.tar.bz2 gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.tar.lz gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.tar.xz gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.tar.zst gsoc2013-evolution-3d1514fb67f191d54d2c474d6e364ec6aab76446.zip |
Remove e_table_set_state().
No longer used.
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-table.c | 26 | ||||
-rw-r--r-- | e-util/e-table.h | 2 |
2 files changed, 0 insertions, 28 deletions
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, |