range: Don't call calc_slider() on value changes

calc_slider() updates the slider visibility, but that can only change if
the upper or lower change.
This commit is contained in:
Timm Bäder 2018-02-17 15:25:06 +01:00
parent 8a38f62915
commit 69fa3c4876

View File

@ -2376,8 +2376,6 @@ gtk_range_adjustment_value_changed (GtkAdjustment *adjustment,
{
GtkRange *range = GTK_RANGE (data);
gtk_range_calc_slider (range);
/* Note that we don't round off to priv->round_digits here.
* that's because it's really broken to change a value
* in response to a change signal on that value; round_digits