aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-vbox.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-cell-vbox.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-cell-vbox.c')
-rw-r--r--widgets/table/e-cell-vbox.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/widgets/table/e-cell-vbox.c b/widgets/table/e-cell-vbox.c
index b170604ade..f57cd0e113 100644
--- a/widgets/table/e-cell-vbox.c
+++ b/widgets/table/e-cell-vbox.c
@@ -36,7 +36,7 @@
#include "e-cell-vbox.h"
#include "e-table-item.h"
-G_DEFINE_TYPE (ECellVbox, e_cell_vbox, E_CELL_TYPE)
+G_DEFINE_TYPE (ECellVbox, e_cell_vbox, E_TYPE_CELL)
#define INDENT_AMOUNT 16
@@ -267,10 +267,10 @@ ecv_finalize (GObject *object)
}
static void
-e_cell_vbox_class_init (ECellVboxClass *klass)
+e_cell_vbox_class_init (ECellVboxClass *class)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
- ECellClass *ecc = E_CELL_CLASS (klass);
+ GObjectClass *object_class = G_OBJECT_CLASS (class);
+ ECellClass *ecc = E_CELL_CLASS (class);
object_class->dispose = ecv_dispose;
object_class->finalize = ecv_finalize;
@@ -284,7 +284,7 @@ e_cell_vbox_class_init (ECellVboxClass *klass)
ecc->height = ecv_height;
ecc->max_width = ecv_max_width;
- gal_a11y_e_cell_registry_add_cell_type (NULL, E_CELL_VBOX_TYPE, gal_a11y_e_cell_vbox_new);
+ gal_a11y_e_cell_registry_add_cell_type (NULL, E_TYPE_CELL_VBOX, gal_a11y_e_cell_vbox_new);
}
static void
@@ -306,9 +306,7 @@ e_cell_vbox_init (ECellVbox *ecv)
ECell *
e_cell_vbox_new (void)
{
- ECellVbox *ecv = g_object_new (E_CELL_VBOX_TYPE, NULL);
-
- return (ECell *) ecv;
+ return g_object_new (E_TYPE_CELL_VBOX, NULL);
}
void