Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine2001-06-21 16:35:30 -0400
committerVeronika Irvine2001-06-21 16:35:30 -0400
commit3835014faa966c0464f4053635ff86ce3392d3d3 (patch)
tree222d8b89406a7bfe8b83c5e1d4a123ebed3b82a4
parent1d9886ce75543012f2486a984e28e58a5a6556c0 (diff)
downloadeclipse.platform.swt-3835014faa966c0464f4053635ff86ce3392d3d3.tar.gz
eclipse.platform.swt-3835014faa966c0464f4053635ff86ce3392d3d3.tar.xz
eclipse.platform.swt-3835014faa966c0464f4053635ff86ce3392d3d3.zip
init correction
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c4
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java1
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java2
-rwxr-xr-xbundles/org.eclipse.swt/ws/motif/libswt0125.sobin373378 -> 366199 bytes
4 files changed, 2 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
index 2eee321d95..99d97120cf 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
@@ -8015,7 +8015,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_read
if (buf)
buf1 = (*env)->GetByteArrayElements(env, buf, NULL);
- rc = (jint) read(filedes, (char *)buf1, nbyte);
+ rc = (jint) read(filedes, (char *)buf, nbyte);
if (buf)
(*env)->ReleaseByteArrayElements(env, buf, buf1, 0);
@@ -8038,7 +8038,7 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_write
if (buf)
buf1 = (*env)->GetByteArrayElements(env, buf, NULL);
- rc = (jint) write(filedes, (char *)buf1, nbyte);
+ rc = (jint) write(filedes, (char *)buf, nbyte);
if (buf)
(*env)->ReleaseByteArrayElements(env, buf, buf1, 0);
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
index 174460a8d0..43c4aeddc7 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java
@@ -139,7 +139,6 @@ void createHandle (int index) {
int [] args = {
OS.Pt_ARG_HORIZONTAL_ALIGNMENT, alignment, 0,
OS.Pt_ARG_INDICATOR_TYPE, (style & SWT.CHECK) != 0 ? OS.Pt_N_OF_MANY : OS.Pt_ONE_OF_MANY, 0,
- OS.Pt_ARG_FILL_COLOR, display.WIDGET_BACKGROUND, 0,
OS.Pt_ARG_RESIZE_FLAGS, 0, OS.Pt_RESIZE_XY_BITS,
};
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java
index b97c3fc575..0bd2a8b36b 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java
@@ -121,7 +121,6 @@ void createHandle (int index) {
int [] args = {
OS.Pt_ARG_SEP_FLAGS, orientation, OS.Pt_SEP_VERTICAL | OS.Pt_SEP_HORIZONTAL,
OS.Pt_ARG_SEP_TYPE, type, 0,
- OS.Pt_ARG_FILL_COLOR, display.WIDGET_BACKGROUND, 0,
OS.Pt_ARG_RESIZE_FLAGS, 0, OS.Pt_RESIZE_XY_BITS,
};
handle = OS.PtCreateWidget (clazz, parentHandle, args.length / 3, args);
@@ -139,7 +138,6 @@ void createHandle (int index) {
OS.Pt_ARG_FLAGS, hasBorder ? OS.Pt_HIGHLIGHTED : 0, OS.Pt_HIGHLIGHTED,
OS.Pt_ARG_HORIZONTAL_ALIGNMENT, alignment, 0,
OS.Pt_ARG_VERTICAL_ALIGNMENT, verticalAlign, 0,
- OS.Pt_ARG_FILL_COLOR, display.WIDGET_BACKGROUND, 0,
OS.Pt_ARG_RESIZE_FLAGS, 0, OS.Pt_RESIZE_XY_BITS,
};
handle = OS.PtCreateWidget (clazz, parentHandle, args.length / 3, args);
diff --git a/bundles/org.eclipse.swt/ws/motif/libswt0125.so b/bundles/org.eclipse.swt/ws/motif/libswt0125.so
index 917c9f7ece..c0972e72e4 100755
--- a/bundles/org.eclipse.swt/ws/motif/libswt0125.so
+++ b/bundles/org.eclipse.swt/ws/motif/libswt0125.so
Binary files differ

Back to the top