]> Pileus Git - ~andy/gtk/commit
clamp the value to [lower...upper-page_size] instead of only
authorMichael Natterer <mitch@imendio.com>
Tue, 5 Aug 2008 14:25:29 +0000 (14:25 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 5 Aug 2008 14:25:29 +0000 (14:25 +0000)
commit0affd82480977288c64ff9571b78cd777dfc4ad3
tree6890668134941b4ba8c6da83d8c9d8a7a2ef6284
parentd4984773e87d3bbee47951e3fd7dcfdbbab30d5b
clamp the value to [lower...upper-page_size] instead of only

2008-08-05  Michael Natterer  <mitch@imendio.com>

* gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
to [lower...upper-page_size] instead of only [lower...upper].

* README: add note about this change.

While this fix is correct and should have been there forever, it
has the potential to break some corner cases, however these cases
would set page_size to a value != 0 which suggests they want it
honored.

svn path=/trunk/; revision=21012
ChangeLog
README
gtk/gtkadjustment.c