diff options
author | Benjamin Otte <otte@redhat.com> | 2014-05-23 19:27:53 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-05-23 19:29:27 +0200 |
commit | 6c49ffe9164521a1c511fb975136b52e25157f30 (patch) | |
tree | 424d978cfa2d1ecf6e5b78e014b6ce81a3445935 | |
parent | fa2221897323c4cfca868336303c53ddf0e617e7 (diff) | |
download | gtk+-6c49ffe9164521a1c511fb975136b52e25157f30.tar.gz |
themingbackground: Outset shadows require border box
They are drawn relative to the border box, not relative to the padding
box.
-rw-r--r-- | gtk/gtkthemingbackground.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkthemingbackground.c b/gtk/gtkthemingbackground.c index 706752b082..380eb5ad1e 100644 --- a/gtk/gtkthemingbackground.c +++ b/gtk/gtkthemingbackground.c @@ -270,7 +270,7 @@ _gtk_theming_background_apply_shadow (GtkThemingBackground *bg, { _gtk_css_shadows_value_paint_box (_gtk_style_context_peek_property (bg->context, GTK_CSS_PROPERTY_BOX_SHADOW), cr, - &bg->padding_box, + inset ? &bg->padding_box : &bg->border_box, inset); } |