range: don't call gtk_range_calc_layout() in realize()

This should not be needed, and we want to get rid of
gtk_range_calc_layout().
This commit is contained in:
Cosimo Cecchi 2016-01-16 16:30:59 -08:00
parent 1f9de3cfec
commit d19215015e

View File

@ -1986,8 +1986,6 @@ gtk_range_realize (GtkWidget *widget)
GdkWindowAttr attributes;
gint attributes_mask;
gtk_range_calc_layout (range);
gtk_widget_set_realized (widget, TRUE);
window = gtk_widget_get_parent_window (widget);