From 7f784ffb4ac7e9a6a1ec40dc403d69d1bd96739b Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Fri, 1 Apr 2016 10:08:15 +0200 Subject: [PATCH] Silence warnings --- gtk/xoptions.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gtk/xoptions.c b/gtk/xoptions.c index 3a29431..5ae8ddb 100644 --- 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); -- 1.7.0.4