After computing the clamped value, actually set it. (#62639, Sergey
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)
This commit is contained in:
parent
a504e62e01
commit
20eda0e6f1
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
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>
|
Tue Feb 26 22:22:37 2002 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||||
|
@ -613,7 +613,8 @@ gtk_range_set_increments (GtkRange *range,
|
|||||||
* @max: maximum range value
|
* @max: maximum range value
|
||||||
*
|
*
|
||||||
* Sets the allowable values in the #GtkRange, and clamps the range
|
* 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
|
void
|
||||||
gtk_range_set_range (GtkRange *range,
|
gtk_range_set_range (GtkRange *range,
|
||||||
@ -631,8 +632,9 @@ gtk_range_set_range (GtkRange *range,
|
|||||||
value = CLAMP (range->adjustment->value,
|
value = CLAMP (range->adjustment->value,
|
||||||
range->adjustment->lower,
|
range->adjustment->lower,
|
||||||
(range->adjustment->upper - range->adjustment->page_size));
|
(range->adjustment->upper - range->adjustment->page_size));
|
||||||
|
|
||||||
gtk_adjustment_changed (range->adjustment);
|
gtk_adjustment_set_value (range->adjustment, value);
|
||||||
|
gtk_adjustment_changed (range->adjustment);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user