aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-percent.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-08-29 20:27:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-08-29 21:37:18 +0800
commit1884f66c02bfd0373b21f5d7f772523751256a5d (patch)
tree15bcbc4a82211c1c310e892ec75da8da06994f34 /widgets/table/e-cell-percent.c
parent8fbcab126e2453c8cbf7b5dba5a309bf83e0a3c3 (diff)
downloadgsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.tar
gsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.tar.gz
gsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.tar.bz2
gsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.tar.lz
gsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.tar.xz
gsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.tar.zst
gsoc2013-evolution-1884f66c02bfd0373b21f5d7f772523751256a5d.zip
ECellText cleanups.
Diffstat (limited to 'widgets/table/e-cell-percent.c')
-rw-r--r--widgets/table/e-cell-percent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-cell-percent.c b/widgets/table/e-cell-percent.c
index 3ed995421b..83c60ce855 100644
--- a/widgets/table/e-cell-percent.c
+++ b/widgets/table/e-cell-percent.c
@@ -38,7 +38,7 @@
#include "e-cell-percent.h"
-G_DEFINE_TYPE (ECellPercent, e_cell_percent, E_CELL_TEXT_TYPE)
+G_DEFINE_TYPE (ECellPercent, e_cell_percent, E_TYPE_CELL_TEXT)
static gchar *
ecp_get_text (ECellText *cell, ETableModel *model, gint col, gint row)
@@ -143,7 +143,7 @@ e_cell_percent_init (ECellPercent *ecp)
ECell *
e_cell_percent_new (const gchar *fontname, GtkJustification justify)
{
- ECellPercent *ecn = g_object_new (E_CELL_PERCENT_TYPE, NULL);
+ ECellPercent *ecn = g_object_new (E_TYPE_CELL_PERCENT, NULL);
e_cell_text_construct (E_CELL_TEXT(ecn), fontname, justify);