Skip to content
  • Florian Müllner's avatar
    dashSpacer: Don't trigger allocations from size negotiations · d5ebd8c8
    Florian Müllner authored and Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto committed
    If an actor's allocation is outdated, clutter_actor_get_allocation_box()
    will queue a relayout. That's why it's advised to not use the function
    unless the allocation is known to be valid (namely during paint), but
    in particular not from within get_preferred_width/height vfuncs.
    
    Using the :allocation property (which may be outdated) would be better,
    but in this case we can simply delegate the request to the correct actor.
    
    #1065
    d5ebd8c8