[Commits] [SCM] claws branch, master, updated. 3.16.0-43-gf01256a

mones at claws-mail.org mones at claws-mail.org
Thu Feb 8 09:45:33 CET 2018


The branch, master has been updated
       via  f01256abc54f28fc06a5abbe6b6897627b640ee7 (commit)
      from  64bef95613c1ec6365222b4b68b64886420aa51f (commit)

Summary of changes:
 src/wizard.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit f01256abc54f28fc06a5abbe6b6897627b640ee7
Author: Ricardo Mones <ricardo at mones.org>
Date:   Thu Feb 8 09:41:51 2018 +0100

    Fix ‘GtkWidget {aka struct _GtkWidget}’ has no member named ‘style’
    
    Thanks to Abhay S. Kushwaha for reporting!

diff --git a/src/wizard.c b/src/wizard.c
index 0440743..d48fab8 100644
--- 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);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list