summaryrefslogtreecommitdiff
path: root/gtk/gtkcssshadowvalue.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-19 19:19:15 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-20 18:01:12 +0100
commit4d9eedafcd13423d4ccb3530fad29bda75701879 (patch)
tree12a19f366d0268ba98c91861ec37191b619679aa /gtk/gtkcssshadowvalue.c
parent95a2a5c54c6480b62be482145ee40c58a15b4bd8 (diff)
downloadgtk+-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.c1
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"