diff options
author | Benjamin Otte <otte@redhat.com> | 2016-12-19 19:19:15 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-12-20 18:01:12 +0100 |
commit | 4d9eedafcd13423d4ccb3530fad29bda75701879 (patch) | |
tree | 12a19f366d0268ba98c91861ec37191b619679aa /gtk/gtkcssshadowvalue.c | |
parent | 95a2a5c54c6480b62be482145ee40c58a15b4bd8 (diff) | |
download | gtk+-4d9eedafcd13423d4ccb3530fad29bda75701879.tar.gz |
roundedbox: Add gtk_rounded_boxes_init_for_style()
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.
Diffstat (limited to 'gtk/gtkcssshadowvalue.c')
-rw-r--r-- | gtk/gtkcssshadowvalue.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkcssshadowvalue.c b/gtk/gtkcssshadowvalue.c index d9e1aaa3fb..bcb874db98 100644 --- a/gtk/gtkcssshadowvalue.c +++ b/gtk/gtkcssshadowvalue.c @@ -26,7 +26,6 @@ #include "gtkcssrgbavalueprivate.h" #include "gtksnapshot.h" #include "gtkstylecontextprivate.h" -#include "gtkrenderprivate.h" #include "gtkpango.h" #include "gsk/gskcairoblurprivate.h" |