[evolution] Remove gal_view_etable_set_state().



commit 99f04cfe58dd707ecfd02f4b3f792175acabb305
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Jul 2 20:57:42 2013 -0400

    Remove gal_view_etable_set_state().
    
    No longer used.

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/gal-view-etable.c                           |   13 -------------
 e-util/gal-view-etable.h                           |    2 --
 3 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt 
b/doc/reference/evolution-util/evolution-util-sections.txt
index 5bfc185..f3f0aca 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4627,7 +4627,6 @@ gal_view_collection_get_type
 <TITLE>GalViewEtable</TITLE>
 GalViewEtable
 gal_view_etable_new
-gal_view_etable_set_state
 gal_view_etable_attach_table
 gal_view_etable_attach_tree
 gal_view_etable_detach
diff --git a/e-util/gal-view-etable.c b/e-util/gal-view-etable.c
index adabf93..08c612a 100644
--- a/e-util/gal-view-etable.c
+++ b/e-util/gal-view-etable.c
@@ -179,19 +179,6 @@ gal_view_etable_new (const gchar *title)
        return g_object_new (GAL_TYPE_VIEW_ETABLE, "title", title, NULL);
 }
 
-void
-gal_view_etable_set_state (GalViewEtable *view,
-                           ETableState *state)
-{
-       g_return_if_fail (GAL_IS_VIEW_ETABLE (view));
-       g_return_if_fail (E_IS_TABLE_STATE (state));
-
-       g_clear_object (&view->priv->state);
-       view->priv->state = e_table_state_duplicate (state);
-
-       gal_view_changed (GAL_VIEW (view));
-}
-
 static void
 table_state_changed (ETable *table,
                      GalViewEtable *view)
diff --git a/e-util/gal-view-etable.h b/e-util/gal-view-etable.h
index bce1f91..f76eccd 100644
--- a/e-util/gal-view-etable.h
+++ b/e-util/gal-view-etable.h
@@ -65,8 +65,6 @@ struct _GalViewEtableClass {
 
 GType          gal_view_etable_get_type        (void);
 GalView *      gal_view_etable_new             (const gchar *title);
-void           gal_view_etable_set_state       (GalViewEtable *view,
-                                                ETableState *state);
 void           gal_view_etable_attach_table    (GalViewEtable *view,
                                                 ETable *table);
 void           gal_view_etable_attach_tree     (GalViewEtable *view,


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