range: fix warning for gadget slider

The slider is not HFW/WFH - just pass -1 to get rid of the warnings.
This commit is contained in:
Cosimo Cecchi 2016-03-04 17:28:04 -08:00
parent cdc580463e
commit 5a42c2e478

View File

@ -1837,7 +1837,7 @@ gtk_range_measure_trough (GtkCssGadget *gadget,
gint min, nat;
gtk_css_gadget_get_preferred_size (priv->slider_gadget,
orientation, for_size,
orientation, -1,
minimum, natural,
NULL, NULL);