range: No need to frce a recalc

A resize will already trigger a recalc, so no need to explicitly trigger
it.
This commit is contained in:
Benjamin Otte 2014-11-28 00:24:06 +01:00
parent 7ecdaaacb2
commit c80c7f7792

View File

@ -4195,6 +4195,5 @@ _gtk_range_set_steppers (GtkRange *range,
range->priv->has_stepper_c = has_c; range->priv->has_stepper_c = has_c;
range->priv->has_stepper_d = has_d; range->priv->has_stepper_d = has_d;
range->priv->need_recalc = TRUE;
gtk_widget_queue_resize (GTK_WIDGET (range)); gtk_widget_queue_resize (GTK_WIDGET (range));
} }