CtrlLib: compile fix

git-svn-id: svn://ultimatepp.org/upp/trunk@13873 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2020-01-12 19:48:44 +00:00
parent a964daf283
commit 115c0627cf

View file

@ -368,9 +368,9 @@ void ChHostSkin()
{
ScrollBar::Style& s = ScrollBar::StyleDefault().Write();
static gboolean stepper;
static gint minslider;
ONCELOCK {
static GtkWidget *proto = (GtkWidget *)gtk_scrollbar_new(GTK_ORIENTATION_HORIZONTAL, NULL); // to get style params
gint minslider;
gtk_widget_style_get(proto, "has-backward-stepper", &stepper, "min-slider-length", &minslider, NULL);
}
if(!stepper)