aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cell-percent.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/misc/e-cell-percent.c')
-rw-r--r--widgets/misc/e-cell-percent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/misc/e-cell-percent.c b/widgets/misc/e-cell-percent.c
index e2e6ae6b6b..82ab3a72f8 100644
--- a/widgets/misc/e-cell-percent.c
+++ b/widgets/misc/e-cell-percent.c
@@ -147,7 +147,7 @@ e_cell_percent_init (GtkObject *object)
ECell *
e_cell_percent_new (const char *fontname, GtkJustification justify)
{
- ECellPercent *ecn = gtk_type_new (e_cell_percent_get_type ());
+ ECellPercent *ecn = g_object_new (E_CELL_PERCENT_TYPE, NULL);
e_cell_text_construct (E_CELL_TEXT(ecn), fontname, justify);