talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit f01256abc54f28fc06a5abbe6b6897627b640ee7
parent 64bef95613c1ec6365222b4b68b64886420aa51f
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu,  8 Feb 2018 09:41:51 +0100

Fix ‘GtkWidget {aka struct _GtkWidget}’ has no member named ‘style’

Thanks to Abhay S. Kushwaha for reporting!

Diffstat:
Msrc/wizard.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/wizard.c b/src/wizard.c @@ -439,7 +439,8 @@ static void initialize_fonts(WizardWindow *wizard) gchar *tmp, *new; #ifdef G_OS_WIN32 PangoFontDescription *bold_desc; - gchar *curfont = pango_font_description_to_string(widget->style->font_desc); + gchar *curfont = pango_font_description_to_string( + gtk_widget_get_style(widget)->font_desc); g_free(prefs_common.smallfont); g_free(prefs_common.normalfont); g_free(prefs_common.boldfont);