summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-08-13 03:22:59 +0200
committerJavier Jardón <jjardon@gnome.org>2010-08-23 20:47:30 +0200
commitf300aefa7efee5e1cfe1a5b1b6a6742fc352bcab (patch)
tree39816e1bd04a1a9f8b0ed098d848679814bee1d4 /gtk/gtkscrollbar.c
parent1814ea6abd361bccf55004309b81860cc39152fb (diff)
downloadgtk+-f300aefa7efee5e1cfe1a5b1b6a6742fc352bcab.tar.gz
Added _gtk_range_set_steppers () internal function
It's needed by gtkscrollbar
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r--gtk/gtkscrollbar.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index 34ef5b60ce..a903e87843 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -115,11 +115,8 @@ gtk_scrollbar_style_set (GtkWidget *widget,
range->min_slider_size = slider_length;
range->slider_size_fixed = fixed_size;
-
- range->has_stepper_a = has_a;
- range->has_stepper_b = has_b;
- range->has_stepper_c = has_c;
- range->has_stepper_d = has_d;
+ _gtk_range_set_steppers (range,
+ has_a, has_b, has_c, has_d);
GTK_WIDGET_CLASS (gtk_scrollbar_parent_class)->style_set (widget, previous);
}