aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-hbox.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-hbox.c
parent30a590ae89a3fbba28a2296606dd7141136b5f21 (diff)
downloadgsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.gz
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.bz2
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.lz
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.xz
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.tar.zst
gsoc2013-evolution-dfc4205ce569594e83772ac8e0c04f5ca8c2a019.zip
libetable cleanups.
Diffstat (limited to 'widgets/table/e-cell-hbox.c')
-rw-r--r--widgets/table/e-cell-hbox.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/widgets/table/e-cell-hbox.c b/widgets/table/e-cell-hbox.c
index 6f587db9d2..4053452705 100644
--- a/widgets/table/e-cell-hbox.c
+++ b/widgets/table/e-cell-hbox.c
@@ -39,7 +39,7 @@
#include "e-cell-hbox.h"
#include "e-table-item.h"
-G_DEFINE_TYPE (ECellHbox, e_cell_hbox, E_CELL_TYPE)
+G_DEFINE_TYPE (ECellHbox, e_cell_hbox, E_TYPE_CELL)
#define INDENT_AMOUNT 16
#define MAX_CELL_SIZE 25
@@ -270,10 +270,10 @@ ecv_dispose (GObject *object)
}
static void
-e_cell_hbox_class_init (ECellHboxClass *klass)
+e_cell_hbox_class_init (ECellHboxClass *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;
@@ -287,7 +287,7 @@ e_cell_hbox_class_init (ECellHboxClass *klass)
ecc->max_width = ecv_max_width;
-/* gal_a11y_e_cell_registry_add_cell_type (NULL, E_CELL_HBOX_TYPE, gal_a11y_e_cell_hbox_new); */
+/* gal_a11y_e_cell_registry_add_cell_type (NULL, E_TYPE_CELL_HBOX, gal_a11y_e_cell_hbox_new); */
}
static void
@@ -309,9 +309,7 @@ e_cell_hbox_init (ECellHbox *ecv)
ECell *
e_cell_hbox_new (void)
{
- ECellHbox *ecv = g_object_new (E_CELL_HBOX_TYPE, NULL);
-
- return (ECell *) ecv;
+ return g_object_new (E_TYPE_CELL_HBOX, NULL);
}
void