aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-cell-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-cell-text.c')
-rw-r--r--widgets/table/e-cell-text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c
index 07b543808a..4a4b90ce08 100644
--- a/widgets/table/e-cell-text.c
+++ b/widgets/table/e-cell-text.c
@@ -328,6 +328,7 @@ ect_new_view (ECell *ecell, ETableModel *table_model, void *e_table_item_view)
text_view->font = e_font_from_gdk_name (ect->font_name);
}
if (!text_view->font){
+ gdk_font_ref (GTK_WIDGET (canvas)->style->font);
text_view->font = e_font_from_gdk_font (GTK_WIDGET (canvas)->style->font);
}