roundedbox: add _apply_border_radius() variations for engine/context
And make the base function just use the raw corner radii struct.
This commit is contained in:
committed by
Matthias Clasen
parent
4c61f1f663
commit
ae132c0a1a
@ -1815,7 +1815,7 @@ render_frame_internal (GtkThemingEngine *engine,
|
||||
}
|
||||
|
||||
_gtk_rounded_box_init_rect (&border_box, x, y, width, height);
|
||||
_gtk_rounded_box_apply_border_radius (&border_box, engine, state, junction);
|
||||
_gtk_rounded_box_apply_border_radius_for_engine (&border_box, engine, state, junction);
|
||||
|
||||
render_border (cr, &border_box, &border, hidden_side, colors, border_style);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user