GtkScale::value-change receives values beyond its GtkAdjustment:upper bound
Submitted by Gary Ching-Pang Lin
Created attachment 146810 sample program
The callback function of value-change will receive an out-of-range value if I drag the scrollbar to the rightest.
The sample program will create a HScale with the range [0,100]. cb_scroll_change() prints the value it got when it is aroused by "value-change". The returned value will be larger than 100 while I dragged the scrollbar to the rightest.
Open a terminal and compile the sample program with gcc
pkg-config gtk+-2.0 --libs --cflagsscale.c -o scale
Drag the scroll bar to the rightest and observe the number printed in the terminal
Attachment 146810, "sample program":