• Benjamin Otte's avatar
    roundedbox: Add gtk_rounded_boxes_init_for_style() · 4d9eedaf
    Benjamin Otte authored
    Instead of making people intiialize a rectangle and then applying border
    radius manually, provide a constructor that does it for them.
    While doing that, also allow people to instead request the padding box
    or the content box.
    Refactor all relevant code to use this new constructor.
gtkrenderborder.c 39.6 KB