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 c267f7b223..e2e6ae6b6b 100644
--- a/widgets/misc/e-cell-percent.c
+++ b/widgets/misc/e-cell-percent.c
@@ -119,7 +119,7 @@ e_cell_percent_class_init (GtkObjectClass *object_class)
{
ECellTextClass *ectc = (ECellTextClass *) object_class;
- parent_class = gtk_type_class (PARENT_TYPE);
+ parent_class = g_type_class_ref(PARENT_TYPE);
ectc->get_text = ecp_get_text;
ectc->free_text = ecp_free_text;