Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2001-11-08 19:35:18 -0500
committerSilenio Quarti2001-11-08 19:35:18 -0500
commit8a38e5075e653df3889cb080a0f04508bee57d8f (patch)
tree7c437b766d8c092ada2903755b85583d2cb78e6c /bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
parent2da14226ad0194251d73fcc9e143564faa5e089c (diff)
downloadeclipse.platform.swt-8a38e5075e653df3889cb080a0f04508bee57d8f.tar.gz
eclipse.platform.swt-8a38e5075e653df3889cb080a0f04508bee57d8f.tar.xz
eclipse.platform.swt-8a38e5075e653df3889cb080a0f04508bee57d8f.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c10
1 files changed, 5 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 f0d0c24c2d..f53479778b 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT/motif/library/swt.c
@@ -7185,9 +7185,10 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_XmGetPixmapByDepth
* Method: XmStringDrawUnderline
* Signature: (IIIIIIIIIILorg/eclipse/swt/internal/motif/XRectangle;I)V
*/
-/* JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_motif_OS_XmStringDrawUnderline
+JNIEXPORT void JNICALL Java_org_eclipse_swt_internal_motif_OS_XmStringDrawUnderline
(JNIEnv *env, jclass that, jint display, jint window, jint fontlist, jint xmString, jint gc, jint x, jint y, jint width, jint align, jint lay_dir, jobject clip, jint xmStringUnderline)
{
+ DECL_GLOB(pGlob)
XRectangle xRect, *lpxRect=NULL;
#ifdef DEBUG_CALL_PRINTS
fprintf(stderr, "XmStringDrawUnderline\n");
@@ -7195,15 +7196,14 @@ JNIEXPORT jint JNICALL Java_org_eclipse_swt_internal_motif_OS_XmGetPixmapByDepth
if (clip) {
lpxRect = &xRect;
- cacheXrectangleFids(env, clip, &XrectangleFc);
- getXrectangleFields(env, clip, lpxRect, &XrectangleFc);
+ cacheXrectangleFids(env, clip, &PGLOB(XrectangleFc));
+ getXrectangleFields(env, clip, lpxRect, &PGLOB(XrectangleFc));
}
XmStringDrawUnderline((Display *)display, window, (XmFontList)fontlist, (XmString)xmString, (GC)gc, x, y, width, align, lay_dir, lpxRect, (XmString)xmStringUnderline);
if (clip) {
- setXrectangleFields(env, clip, lpxRect, &XrectangleFc);
+ setXrectangleFields(env, clip, lpxRect, &PGLOB(XrectangleFc));
}
}
-*/
/*
* Class: org_eclipse_swt_internal_motif_OS

Back to the top