+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
+Wed Feb 27 10:34:46 2002 Owen Taylor <otaylor@redhat.com>
+
+ * gtk/gtkrange.c (gtk_range_set_range): After computing
+ the clamped value, actually set it. (#62639, Sergey Kuzminov)
+
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
* @max: maximum range value
*
* Sets the allowable values in the #GtkRange, and clamps the range
- * value to be between min and max.
+ * value to be between @min and @max. (If the range has a non-zero
+ * page size, it is clamped between @min and @max - page-size.)
**/
void
gtk_range_set_range (GtkRange *range,
value = CLAMP (range->adjustment->value,
range->adjustment->lower,
(range->adjustment->upper - range->adjustment->page_size));
-
- gtk_adjustment_changed (range->adjustment);
+
+ gtk_adjustment_set_value (range->adjustment, value);
+ gtk_adjustment_changed (range->adjustment);
}
/**