summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2004-02-10 20:09:03 +0000
committerGrant Gayed <ggayed>2004-02-10 20:09:03 +0000
commit3dc8b1ca20abd220ca81397505c5b5d6224c467d (patch)
tree8ca0fc6e436b08387ecc8b5002f022aea3503b95
parent898fc9aa5fdd3bc643fa63fec9aa422599566417 (diff)
downloadeclipse.platform.swt-3dc8b1ca20abd220ca81397505c5b5d6224c467d.tar.gz
eclipse.platform.swt-3dc8b1ca20abd220ca81397505c5b5d6224c467d.tar.xz
eclipse.platform.swt-3dc8b1ca20abd220ca81397505c5b5d6224c467d.zip
51492
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
index 7958ed10e5..9d891e8979 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
@@ -713,9 +713,6 @@ void setForegroundPixel (int pixel) {
if (xDisplay == 0) return;
int xWindow = OS.XtWindow (handle);
if (xWindow == 0) return;
- int [] argList = {OS.XmNforeground, 0};
- OS.XtGetValues (handle, argList, argList.length / 2);
- if (pixel == argList [1]) return;
OS.XClearArea (xDisplay, xWindow, 0, 0, 0, 0, true);
}
}