]> Pileus Git - ~andy/gtk/commit
themingengine: shrink the background size to the padding-box
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 15 Jun 2011 05:07:11 +0000 (01:07 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 15 Jun 2011 15:03:56 +0000 (11:03 -0400)
commitaf77ba78bb94c1298012b5d7b69941853e9c5e08
treed1bf104222a452a41a54db2287835dfa79bf6c73
parentb47c7405f29ceea3418214c0a40a3ab982ac047a
themingengine: shrink the background size to the padding-box

This fixes a regression introduced by this commit [1] that causes
background to draw beyond the padding-box, which breaks rounded corners,
(in addition to not being compliant with what CSS does by default).

[1] http://git.gnome.org/browse/gtk+/commit/?id=c56700ca3029a9ab1362009bff35f2a70e432c02

https://bugzilla.gnome.org/show_bug.cgi?id=652618
gtk/gtkthemingengine.c