summaryrefslogtreecommitdiff
path: root/gtk/gtkscrollbar.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-08-13 02:35:49 +0200
committerJavier Jardón <jjardon@gnome.org>2010-08-23 20:47:52 +0200
commitff445e2b7976a537b2a13772a919811eac0554c8 (patch)
treecd502f971463981bdbacc6359fa5b777c554bf50 /gtk/gtkscrollbar.c
parent27ec5cd55687f303f204cfa6607651f7ba52bd97 (diff)
downloadgtk+-ff445e2b7976a537b2a13772a919811eac0554c8.tar.gz
Use accessor functions to access GtkRange
Diffstat (limited to 'gtk/gtkscrollbar.c')
-rw-r--r--gtk/gtkscrollbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c
index a903e87843..ce41a231bd 100644
--- a/gtk/gtkscrollbar.c
+++ b/gtk/gtkscrollbar.c
@@ -113,8 +113,8 @@ gtk_scrollbar_style_set (GtkWidget *widget,
"has-forward-stepper", &has_d,
NULL);
- range->min_slider_size = slider_length;
- range->slider_size_fixed = fixed_size;
+ gtk_range_set_min_slider_size (range, slider_length);
+ gtk_range_set_slider_size_fixed (range, fixed_size);
_gtk_range_set_steppers (range,
has_a, has_b, has_c, has_d);