summaryrefslogtreecommitdiffstats
path: root/gtk/src/ghbcellrenderertext.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/ghbcellrenderertext.c')
-rw-r--r--gtk/src/ghbcellrenderertext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/ghbcellrenderertext.c b/gtk/src/ghbcellrenderertext.c
index f65c111e0..133923f3a 100644
--- a/gtk/src/ghbcellrenderertext.c
+++ b/gtk/src/ghbcellrenderertext.c
@@ -1546,7 +1546,7 @@ get_size (GtkCellRenderer *cell,
PangoFontDescription *font_desc;
gint row_height;
- font_desc = pango_font_description_copy_static(gtk_widget_get_style(widget)->font_desc);
+ font_desc = pango_font_description_copy_static(ghb_widget_get_font(widget));
pango_font_description_merge_static(font_desc, celltext->font, TRUE);
if (celltext->scale_set)