Skip to content
  • Timm Bäder's avatar
    widget: Add baseline and out_clip parameters to size-allocate · 36ab70dd
    Timm Bäder authored and Matthias Clasen's avatar Matthias Clasen committed
    Since setting a clip is mandatory for almost all widgets, we can as well
    change the size-allocate signature to include a out_clip parameter, just
    like GtkCssGadget did. And since we now always propagate baselines, we
    might as well pass that one on to size-allocate.
    
    This way we can also make sure to transform the clip returned from
    size-allocate to parent-coordinates, i.e. the same coordinate space
    priv->allocation is in.
    36ab70dd