diff options
author | Chyla Zbigniew <chyla@src.gnome.org> | 2001-08-22 23:10:32 +0800 |
---|---|---|
committer | Chyla Zbigniew <chyla@src.gnome.org> | 2001-08-22 23:10:32 +0800 |
commit | 54bea2eaa8ec8f48a816f8547c1a6c094181aaae (patch) | |
tree | c47fff1cf65b0e287be789cb7568d3077f8e088f | |
parent | f4b632e0ef2999834fcf3faebec00b04e459f628 (diff) | |
download | gsoc2013-evolution-54bea2eaa8ec8f48a816f8547c1a6c094181aaae.tar.gz gsoc2013-evolution-54bea2eaa8ec8f48a816f8547c1a6c094181aaae.tar.zst gsoc2013-evolution-54bea2eaa8ec8f48a816f8547c1a6c094181aaae.zip |
This patch fixes a lot of i18n problems in Evolution.
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
Call gtk_widget_ensure_style before refering to widget's style.
svn path=/trunk/; revision=12381
-rw-r--r-- | widgets/misc/e-unicode.c | 1 |
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; |