aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sorter.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-17 02:24:31 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-17 07:52:52 +0800
commit992c8b7d58025cf4d04ed3665210f191c8048339 (patch)
treeed04bd47c142c1a35820b03c6df8e8455d86f15c /widgets/table/e-table-sorter.c
parent2c476af581cc64bb3de8edc726149a7d8e9677b8 (diff)
downloadgsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.gz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.bz2
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.lz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.xz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.zst
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.zip
libetable cleanups.
Diffstat (limited to 'widgets/table/e-table-sorter.c')
-rw-r--r--widgets/table/e-table-sorter.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-sorter.c b/widgets/table/e-table-sorter.c
index 2a52fbb8d5..491fe7fc6f 100644
--- a/widgets/table/e-table-sorter.c
+++ b/widgets/table/e-table-sorter.c
@@ -153,10 +153,10 @@ ets_get_property (GObject *object, guint prop_id, GValue *value, GParamSpec *psp
}
static void
-ets_class_init (ETableSorterClass *klass)
+ets_class_init (ETableSorterClass *class)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
- ESorterClass *sorter_class = E_SORTER_CLASS (klass);
+ GObjectClass *object_class = G_OBJECT_CLASS (class);
+ ESorterClass *sorter_class = E_SORTER_CLASS (class);
object_class->dispose = ets_dispose;
object_class->set_property = ets_set_property;
@@ -172,7 +172,7 @@ ets_class_init (ETableSorterClass *klass)
g_param_spec_object ("sort_info",
"Sort Info",
NULL,
- E_TABLE_SORT_INFO_TYPE,
+ E_TYPE_TABLE_SORT_INFO,
G_PARAM_READWRITE));
}
@@ -197,7 +197,7 @@ ets_init (ETableSorter *ets)
ETableSorter *
e_table_sorter_new (ETableModel *source, ETableHeader *full_header, ETableSortInfo *sort_info)
{
- ETableSorter *ets = g_object_new (E_TABLE_SORTER_TYPE, NULL);
+ ETableSorter *ets = g_object_new (E_TYPE_TABLE_SORTER, NULL);
ets->sort_info = sort_info;
g_object_ref (ets->sort_info);