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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
|
||||
|
@ -613,7 +613,8 @@ gtk_range_set_increments (GtkRange *range,
|
||||
* @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,
|
||||
@ -632,6 +633,7 @@ gtk_range_set_range (GtkRange *range,
|
||||
range->adjustment->lower,
|
||||
(range->adjustment->upper - range->adjustment->page_size));
|
||||
|
||||
gtk_adjustment_set_value (range->adjustment, value);
|
||||
gtk_adjustment_changed (range->adjustment);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user