17563
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java
index 0514eb2..12c4bb8 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java
@@ -99,6 +99,15 @@
 	OS.gtk_container_add (fixedHandle, handle);
 	OS.gtk_widget_show (fixedHandle);
 	OS.gtk_widget_show (handle);
+	if ((style & SWT.FLAT) != 0) {
+		GtkStyle style = new GtkStyle ();
+		int stylePtr = OS.gtk_style_copy (OS.gtk_widget_get_style (handle));
+		OS.memmove (style, stylePtr);
+		style.xthickness = 0;
+		style.ythickness = 0;
+		OS.memmove (stylePtr, style);
+		OS.gtk_widget_set_style (handle, stylePtr);
+	}
 	setForegroundColor (parent.getForegroundColor ());
 	setFontDescription (parent.getFontDescription ());
 }