aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sort-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-sort-info.c')
-rw-r--r--widgets/table/e-table-sort-info.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/widgets/table/e-table-sort-info.c b/widgets/table/e-table-sort-info.c
index cdd600de53..4488ebef88 100644
--- a/widgets/table/e-table-sort-info.c
+++ b/widgets/table/e-table-sort-info.c
@@ -32,7 +32,7 @@
#define ETM_CLASS(e) (E_TABLE_SORT_INFO_GET_CLASS (e))
-static GObjectClass *e_table_sort_info_parent_class;
+G_DEFINE_TYPE (ETableSortInfo , e_table_sort_info, G_TYPE_OBJECT)
enum {
SORT_INFO_CHANGED,
@@ -102,9 +102,6 @@ e_table_sort_info_class_init (ETableSortInfoClass *klass)
klass->group_info_changed = NULL;
}
-E_MAKE_TYPE(e_table_sort_info, "ETableSortInfo", ETableSortInfo,
- e_table_sort_info_class_init, e_table_sort_info_init, G_TYPE_OBJECT)
-
static void
e_table_sort_info_sort_info_changed (ETableSortInfo *info)
{