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-sorter.c | |
parent | 96acf4fa41260e7917ae1a794bb4b636e6c398cc (diff) | |
download | gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.gz gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.tar.zst gsoc2013-evolution-c6ccd45a0ef07b12a0313deb3abee032d89eec0a.zip |
ETable-related cleanups.
Diffstat (limited to 'e-util/e-table-sorter.c')
-rw-r--r-- | e-util/e-table-sorter.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/e-util/e-table-sorter.c b/e-util/e-table-sorter.c index f67b635cb8..0ff30db68b 100644 --- a/e-util/e-table-sorter.c +++ b/e-util/e-table-sorter.c @@ -39,9 +39,7 @@ enum { PROP_SORT_INFO }; -/* workaround for avoiding API breakage */ -#define ets_get_type e_table_sorter_get_type -G_DEFINE_TYPE (ETableSorter, ets, E_TYPE_SORTER) +G_DEFINE_TYPE (ETableSorter, e_table_sorter, E_TYPE_SORTER) #define INCREMENT_AMOUNT 100 @@ -116,7 +114,7 @@ ets_dispose (GObject *object) g_object_unref (ets->source); ets->source = NULL; - G_OBJECT_CLASS (ets_parent_class)->dispose (object); + G_OBJECT_CLASS (e_table_sorter_parent_class)->dispose (object); } static void @@ -168,7 +166,7 @@ ets_get_property (GObject *object, } static void -ets_class_init (ETableSorterClass *class) +e_table_sorter_class_init (ETableSorterClass *class) { GObjectClass *object_class = G_OBJECT_CLASS (class); ESorterClass *sorter_class = E_SORTER_CLASS (class); @@ -195,7 +193,7 @@ ets_class_init (ETableSorterClass *class) } static void -ets_init (ETableSorter *ets) +e_table_sorter_init (ETableSorter *ets) { ets->full_header = NULL; ets->sort_info = NULL; |