projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64bef95
)
Fix ‘GtkWidget {aka struct _GtkWidget}’ has no member named ‘style’
author
Ricardo Mones
<ricardo@mones.org>
Thu, 8 Feb 2018 08:41:51 +0000
(09:41 +0100)
committer
Ricardo Mones
<ricardo@mones.org>
Thu, 8 Feb 2018 08:41:51 +0000
(09:41 +0100)
Thanks to Abhay S. Kushwaha for reporting!
src/wizard.c
patch
|
blob
|
history
diff --git
a/src/wizard.c
b/src/wizard.c
index 0440743314cc7aa5828e5a43e85341a23aeb464e..d48fab8acc2a73b5ba8bfecb50e5bdc1643a99d7 100644
(file)
--- 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);