]> Pileus Git - ~andy/gtk/commit
frame: make sure to allocate the CSS border width
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 18 Nov 2011 16:58:56 +0000 (11:58 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sun, 20 Nov 2011 21:03:31 +0000 (16:03 -0500)
commit4626edb88973f1e1076e833f3632b4636d73f47d
treea2999bb0d35dda84cf43c2cc874c77d784493273
parentb9b01f99b6c04ae7a153b2c55ac9bded6a51f054
frame: make sure to allocate the CSS border width

Similar to GtkNotebook, GtkFrame was only allocating space for the
padding width, and not the border.

This could be seen by just running tests/testframe. With a theme that
renders frame borders, setting xthickness = 0 in the test draws the
button border over the frame border, which is wrong.

https://bugzilla.gnome.org/show_bug.cgi?id=664342
gtk/gtkframe.c