[evolution] Remove e_table_set_state().



commit 3d1514fb67f191d54d2c474d6e364ec6aab76446
Author: Matthew Barnes <mbarnes redhat com>
Date:   Mon Jul 1 15:01:24 2013 -0400

    Remove e_table_set_state().
    
    No longer used.

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/e-table.c                                   |   26 --------------------
 e-util/e-table.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 ca1299b..6cff3e7 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 c8a8417..9d6db60 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 3f2742b..c63b67a 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]