diff options
author | Mathias Hasselmann <mathias.hasselmann@gmx.de> | 2007-06-28 20:42:18 +0000 |
---|---|---|
committer | Mathias Hasselmann <hasselmm@src.gnome.org> | 2007-06-28 20:42:18 +0000 |
commit | 0d6acc6ae992a5fb0147d1adf8865df6b712c805 (patch) | |
tree | 6a78b30d139c0485062ed803f0403a7dade71408 /modules/engines | |
parent | 118f2e6483b844908f3a497621a47c035cbf0efc (diff) | |
download | gtk+-0d6acc6ae992a5fb0147d1adf8865df6b712c805.tar.gz |
Draw no bevel when "GtkToolbar::shadow-type" is "none" (#450469).
2007-06-28 Mathias Hasselmann <mathias.hasselmann@gmx.de>
* modules/engines/ms-windows/msw_style.c: Draw no bevel
when "GtkToolbar::shadow-type" is "none" (#450469).
svn path=/trunk/; revision=18282
Diffstat (limited to 'modules/engines')
-rwxr-xr-x | modules/engines/ms-windows/msw_style.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/engines/ms-windows/msw_style.c b/modules/engines/ms-windows/msw_style.c index 87ac6a4127..bc490a75fd 100755 --- a/modules/engines/ms-windows/msw_style.c +++ b/modules/engines/ms-windows/msw_style.c @@ -2861,6 +2861,9 @@ draw_shadow (GtkStyle * style, if ( is_toolbar || is_handlebox ) { + if( shadow_type == GTK_SHADOW_NONE ) + return; + if( widget ) { HDC dc; RECT rect; |