diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-03 06:44:46 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-06 04:40:49 +0800 |
commit | c6d3ced98a3faeccf4acd180435e5a36005fc4a2 (patch) | |
tree | ff5a2c9ee90f53ce56fe37049cfcc342cdd5086b /e-util/gal-view-etable.h | |
parent | 1f84c2af9842a0e3da42abb0d1a02b3b02f6740f (diff) | |
download | gsoc2013-evolution-c6d3ced98a3faeccf4acd180435e5a36005fc4a2.tar.gz gsoc2013-evolution-c6d3ced98a3faeccf4acd180435e5a36005fc4a2.tar.zst gsoc2013-evolution-c6d3ced98a3faeccf4acd180435e5a36005fc4a2.zip |
GalViewEtable: Remove ETableSpecification member.
Instead, lazily load the state file once an ETable or ETree is attached,
since we need its ETableSpecification to create an ETableState instance.
This means GalViewFactoryEtable can lose its ETableSpecification too.
Diffstat (limited to 'e-util/gal-view-etable.h')
-rw-r--r-- | e-util/gal-view-etable.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/e-util/gal-view-etable.h b/e-util/gal-view-etable.h index 7f064942ed..bce1f916f2 100644 --- a/e-util/gal-view-etable.h +++ b/e-util/gal-view-etable.h @@ -26,7 +26,6 @@ #include <gtk/gtk.h> #include <e-util/gal-view.h> #include <e-util/e-table-state.h> -#include <e-util/e-table-specification.h> #include <e-util/e-table.h> #include <e-util/e-tree.h> @@ -65,10 +64,7 @@ struct _GalViewEtableClass { }; GType gal_view_etable_get_type (void); -GalView * gal_view_etable_new (ETableSpecification *spec, - const gchar *title); -GalView * gal_view_etable_construct (GalViewEtable *view, - ETableSpecification *spec); +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, |