projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
406c6ab
)
Silence warnings
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Fri, 1 Apr 2016 08:08:15 +0000 (10:08 +0200)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Fri, 1 Apr 2016 08:08:15 +0000 (10:08 +0200)
gtk/xoptions.c
patch
|
blob
|
history
diff --git
a/gtk/xoptions.c
b/gtk/xoptions.c
index
3a29431
..
5ae8ddb
100644
(file)
--- a/
gtk/xoptions.c
+++ b/
gtk/xoptions.c
@@
-279,7
+279,7
@@
ApplyFont (Option *opt, char *font)
case ListBox:
case Label: w = opt->handle; break;
case Button: if(opt->handle) w = gtk_bin_get_child(GTK_BIN(opt->handle)); break;
- case TextBox: w = opt->textValue; if(!w) w = opt->handle; break;
+ case TextBox: w = (GtkWidget *) opt->textValue; if(!w) w = opt->handle; break;
default: ;
}
if(w && font) SetWidgetFont(w, &font);