range: Changing the min slider size requires a resize

This commit is contained in:
Benjamin Otte 2014-11-29 01:15:36 +01:00
parent c80c7f7792
commit 1c9fdc1f1f

View File

@ -1030,12 +1030,7 @@ gtk_range_set_min_slider_size (GtkRange *range,
{
priv->min_slider_size = min_size;
if (gtk_widget_is_drawable (GTK_WIDGET (range)))
{
priv->need_recalc = TRUE;
gtk_range_calc_layout (range);
gtk_widget_queue_draw (GTK_WIDGET (range));
}
gtk_widget_queue_resize (GTK_WIDGET (range));
}
}