aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-column-specification.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-column-specification.c')
-rw-r--r--widgets/table/e-table-column-specification.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/widgets/table/e-table-column-specification.c b/widgets/table/e-table-column-specification.c
index e4e642db4f..9f7ea53ebe 100644
--- a/widgets/table/e-table-column-specification.c
+++ b/widgets/table/e-table-column-specification.c
@@ -66,9 +66,9 @@ etcs_finalize (GObject *object)
}
static void
-etcs_class_init (ETableColumnSpecificationClass *klass)
+etcs_class_init (ETableColumnSpecificationClass *class)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
+ GObjectClass *object_class = G_OBJECT_CLASS (class);
object_class->finalize = etcs_finalize;
}
@@ -95,9 +95,7 @@ etcs_init (ETableColumnSpecification *specification)
ETableColumnSpecification *
e_table_column_specification_new (void)
{
- ETableColumnSpecification *etcs = g_object_new (E_TABLE_COLUMN_SPECIFICATION_TYPE, NULL);
-
- return (ETableColumnSpecification *) etcs;
+ return g_object_new (E_TYPE_TABLE_COLUMN_SPECIFICATION, NULL);
}
void