• 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.
    4d9eedaf
gtkcssimagebuiltin.c 20.8 KB