aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-one.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-one.c
parent2c476af581cc64bb3de8edc726149a7d8e9677b8 (diff)
downloadgsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.gz
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.tar.zst
gsoc2013-evolution-992c8b7d58025cf4d04ed3665210f191c8048339.zip
libetable cleanups.
Diffstat (limited to 'widgets/table/e-table-one.c')
-rw-r--r--widgets/table/e-table-one.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/table/e-table-one.c b/widgets/table/e-table-one.c
index b58b0b8631..ed8a481104 100644
--- a/widgets/table/e-table-one.c
+++ b/widgets/table/e-table-one.c
@@ -27,7 +27,7 @@
#include "e-table-one.h"
-G_DEFINE_TYPE (ETableOne, e_table_one, E_TABLE_MODEL_TYPE)
+G_DEFINE_TYPE (ETableOne, e_table_one, E_TYPE_TABLE_MODEL)
static gint
one_column_count (ETableModel *etm)
@@ -167,10 +167,10 @@ one_dispose (GObject *object)
}
static void
-e_table_one_class_init (ETableOneClass *klass)
+e_table_one_class_init (ETableOneClass *class)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
- ETableModelClass *model_class = E_TABLE_MODEL_CLASS (klass);
+ GObjectClass *object_class = G_OBJECT_CLASS (class);
+ ETableModelClass *model_class = E_TABLE_MODEL_CLASS (class);
model_class->column_count = one_column_count;
model_class->row_count = one_row_count;
@@ -201,7 +201,7 @@ e_table_one_new (ETableModel *source)
gint col_count;
gint i;
- eto = g_object_new (E_TABLE_ONE_TYPE, NULL);
+ eto = g_object_new (E_TYPE_TABLE_ONE, NULL);
eto->source = source;
col_count = e_table_model_column_count (source);