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
This commit is contained in:
Mathias Hasselmann 2007-06-28 20:42:18 +00:00 committed by Mathias Hasselmann
parent 118f2e6483
commit 0d6acc6ae9
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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).
2007-06-28 Johan Dahlin <jdahlin@async.com.br> 2007-06-28 Johan Dahlin <jdahlin@async.com.br>
* gtk/gtk-builder-convert (_indent): Prettify the output by * gtk/gtk-builder-convert (_indent): Prettify the output by

View File

@ -2861,6 +2861,9 @@ draw_shadow (GtkStyle * style,
if ( is_toolbar || is_handlebox ) if ( is_toolbar || is_handlebox )
{ {
if( shadow_type == GTK_SHADOW_NONE )
return;
if( widget ) { if( widget ) {
HDC dc; HDC dc;
RECT rect; RECT rect;