Added a new check of scrollbars layout in the allocation
authorAlejandro G. Castro <alex@igalia.com>
Tue, 11 Aug 2009 12:53:40 +0000 (14:53 +0200)
committerAlejandro G. Castro <alex@igalia.com>
Tue, 11 Aug 2009 12:53:40 +0000 (14:53 +0200)
commit69f848cefd5e192eea88458551a7c0c8ec0b4654
tree747518024ad232eea0f5fdeebdc313c89684acd6
parent777a6bf13118bfbb3bacdeee1a80d48387dd6f12
Added a new check of scrollbars layout in the allocation

* hildon/hildon-pannable-area.c
(hildon_pannable_area_size_allocate): Checked the scrollbars
before the first try when defining the layout, avoids two
allocations in some situations.

Fixes: NB#131794 (pannable area produces unnecessary allocations
causing performance problems)
ChangeLog
hildon/hildon-pannable-area.c