aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/e-unicode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index b27f5ef812..b967d0358f 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -315,6 +315,7 @@ e_utf8_to_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes)
g_return_val_if_fail (widget, NULL);
+ gtk_widget_ensure_style (widget);
ic = e_iconv_to_gdk_font (widget->style->font);
if (ic == (iconv_t) -1) {
XFontStruct *xfs;