]> Pileus Git - ~andy/gtk/commit
range: Straighten the wheel delta calculation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 5 Mar 2012 00:15:32 +0000 (19:15 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 5 Mar 2012 00:15:32 +0000 (19:15 -0500)
commit5714454a736794dbe8aa61ab4258e73ea8a98595
treed0ab50ed6ebf49f71d3d665dd5a3cccdfdd8494c
parent3dd5e88c07f659d66ee0f7305a96b51b7fe1072d
range: Straighten the wheel delta calculation

Scroll events report normalized deltas in terms of an abstract
'scroll unit' now, so our job is to determine a suitable scroll
unit here. Since we are changing the value of the adjustment,
the allocation of the widget does not factor into this at all.
gtk/gtkrange.c