forked from AuroraMiddleware/gtk
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:
parent
7ecdaaacb2
commit
c80c7f7792
@ -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));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user