summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
diff options
context:
space:
mode:
authorFelipe Heidrich <fheidric>2004-03-24 17:20:13 +0000
committerFelipe Heidrich <fheidric>2004-03-24 17:20:13 +0000
commitdf4d6d106e094ff2808d5b3dc5f4b3e87be5d087 (patch)
tree0678ceef3466c2c0a590bf3b695ec803d8c9abc6 /bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
parentb11aa5f176bf066b044f6dbbaab26391ef836c4a (diff)
downloadeclipse.platform.swt-df4d6d106e094ff2808d5b3dc5f4b3e87be5d087.tar.gz
eclipse.platform.swt-df4d6d106e094ff2808d5b3dc5f4b3e87be5d087.tar.xz
eclipse.platform.swt-df4d6d106e094ff2808d5b3dc5f4b3e87be5d087.zip
55913
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
index c91f6c3552..5a58260e48 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
@@ -850,7 +850,7 @@ public static final synchronized native void XmStringDraw(int display, int windo
public static final synchronized native void XmStringDrawImage(int display, int window, int renderTable, int xmString, int gc, int x, int y, int width, int align, int lay_dir, XRectangle clip);
public static final synchronized native void XmStringDrawUnderline(int display, int window, int fontlist, int xmString, int gc, int x, int y, int width, int align, int lay_dir, XRectangle clip, int xmStringUnderline);
public static final synchronized native boolean XmStringEmpty(int s1);
-public static final synchronized native void XmStringExtent(int fontList, int xmString, int[] width, int[] height);
+public static final synchronized native void XmStringExtent(int fontList, int xmString, short[] width, short[] height);
public static final synchronized native void XmStringFree(int xmString);
public static final synchronized native int XmStringGenerate(byte[] text, byte[] tag, int type, byte[] rendition);
public static final synchronized native int XmStringHeight(int fontList, int xmString);