diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-18 21:25:40 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-19 08:31:50 +0800 |
commit | c6ccd45a0ef07b12a0313deb3abee032d89eec0a (patch) | |
tree | 41f67ea66ada4bf9a1b109236194386dc1292f7e /e-util/e-table-column-specification.c | |
parent | 96acf4fa41260e7917ae1a794bb4b636e6c398cc (diff) | |
download | gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.gz gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.bz2 gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.lz gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.xz gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.zst gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.zip |
ETable-related cleanups.
Diffstat (limited to 'e-util/e-table-column-specification.c')
-rw-r--r-- | e-util/e-table-column-specification.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/e-util/e-table-column-specification.c b/e-util/e-table-column-specification.c index d1cf089d2d..32c16a5553 100644 --- a/e-util/e-table-column-specification.c +++ b/e-util/e-table-column-specification.c @@ -35,9 +35,10 @@ #include "e-xml-utils.h" -/* workaround for avoiding API breakage */ -#define etcs_get_type e_table_column_specification_get_type -G_DEFINE_TYPE (ETableColumnSpecification, etcs, G_TYPE_OBJECT) +G_DEFINE_TYPE ( + ETableColumnSpecification, + e_table_column_specification, + G_TYPE_OBJECT) static void free_strings (ETableColumnSpecification *etcs) @@ -63,11 +64,11 @@ etcs_finalize (GObject *object) free_strings (etcs); - G_OBJECT_CLASS (etcs_parent_class)->finalize (object); + G_OBJECT_CLASS (e_table_column_specification_parent_class)->finalize (object); } static void -etcs_class_init (ETableColumnSpecificationClass *class) +e_table_column_specification_class_init (ETableColumnSpecificationClass *class) { GObjectClass *object_class = G_OBJECT_CLASS (class); @@ -75,7 +76,7 @@ etcs_class_init (ETableColumnSpecificationClass *class) } static void -etcs_init (ETableColumnSpecification *specification) +e_table_column_specification_init (ETableColumnSpecification *specification) { specification->model_col = 0; specification->compare_col = 0; |