summaryrefslogtreecommitdiff
path: root/gtk/gtkrange.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-11-29 01:15:36 +0100
committerBenjamin Otte <otte@redhat.com>2014-11-29 03:42:28 +0100
commit1c9fdc1f1ffbd4b2c50e2f6f9152a6b7940d00da (patch)
tree7f9425fca1b9e900a625e41d7481550bb19128cd /gtk/gtkrange.c
parentc80c7f7792f4529da94b3808e1befc441480267e (diff)
downloadgtk+-1c9fdc1f1ffbd4b2c50e2f6f9152a6b7940d00da.tar.gz
range: Changing the min slider size requires a resize
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r--gtk/gtkrange.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 4988a601c9..8f3870e5ac 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -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));
}
}