summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Hasselmann <mathias.hasselmann@gmx.de>2007-06-28 20:42:18 +0000
committerMathias Hasselmann <hasselmm@src.gnome.org>2007-06-28 20:42:18 +0000
commit0d6acc6ae992a5fb0147d1adf8865df6b712c805 (patch)
tree6a78b30d139c0485062ed803f0403a7dade71408
parent118f2e6483b844908f3a497621a47c035cbf0efc (diff)
downloadgtk+-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
-rw-r--r--ChangeLog5
-rwxr-xr-xmodules/engines/ms-windows/msw_style.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ef25513526..5e5148e9d1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* gtk/gtk-builder-convert (_indent): Prettify the output by
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;