Owen W. Taylor 524e2ca8e2 [StScrollBar] avoid queueing a relayout during allocation
When an StScrollView is allocated, allocating the child would
cause the adjustment values to change, which would result in
the scrollbars queueing a relayout, which isn't allowed during
allocation.

To avoid this, instead of queueing a relayout when the adjustment
changes:

 - When we have a valid allocation already, just go ahead
   and reallocate the children.
 - Otherwise do nothing immediately and wait until we get allocated

Because the 'needs_allocation' flag in ClutterActor isn't exposed,
this requires some slightly ugly code to shadow that state locally.

https://bugzilla.gnome.org/show_bug.cgi?id=611944
2010-03-11 15:08:48 -05:00
..
2009-10-01 14:41:18 -04:00
2010-03-08 19:33:12 +01:00
2009-10-01 14:41:18 -04:00
2009-10-01 14:41:16 -04:00
2009-10-01 14:41:16 -04:00
2009-10-01 14:41:18 -04:00
2009-10-01 14:41:16 -04:00
2010-03-02 16:37:05 -05:00
2010-01-05 21:48:09 +01:00
2010-01-05 21:48:09 +01:00
2009-10-01 14:46:33 -04:00
2010-03-08 15:50:59 -05:00