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
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:19 +0800
commitdfc4205ce569594e83772ac8e0c04f5ca8c2a019 (patch)
tree5c8eac525f7468f36781c74b1730431950cc7df6 /widgets/table/e-cell-vbox.c
parent30a590ae89a3fbba28a2296606dd7141136b5f21 (diff)
downloadgsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.gz
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.zst
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.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