Skip to content
  • Michael Natterer's avatar
    clamp the value to [lower...upper-page_size] instead of only · 0affd824
    Michael Natterer authored
    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
    0affd824