diff options
author | Veronika Irvine | 2001-06-21 20:35:30 +0000 |
---|---|---|
committer | Veronika Irvine | 2001-06-21 20:35:30 +0000 |
commit | 3835014faa966c0464f4053635ff86ce3392d3d3 (patch) | |
tree | 222d8b89406a7bfe8b83c5e1d4a123ebed3b82a4 | |
parent | 1d9886ce75543012f2486a984e28e58a5a6556c0 (diff) | |
download | eclipse.platform.swt-3835014faa966c0464f4053635ff86ce3392d3d3.tar.gz eclipse.platform.swt-3835014faa966c0464f4053635ff86ce3392d3d3.tar.xz eclipse.platform.swt-3835014faa966c0464f4053635ff86ce3392d3d3.zip |
init correction
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c | 4 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Button.java | 1 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Label.java | 2 | ||||
-rwxr-xr-x | bundles/org.eclipse.swt/ws/motif/libswt0125.so | bin | 373378 -> 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 Binary files differindex 917c9f7ece..c0972e72e4 100755 --- a/bundles/org.eclipse.swt/ws/motif/libswt0125.so +++ b/bundles/org.eclipse.swt/ws/motif/libswt0125.so |