summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2005-06-09 15:26:58 +0000
committerSilenio Quarti <silenio>2005-06-09 15:26:58 +0000
commit7788543f2234fb4248a34439bb9d9ad91e0924b8 (patch)
treec2d312ab727a220b3923317b42d89f1d45a2d750
parent148d4657dd38935cfe8bd9849737415a39ad15de (diff)
downloadeclipse.platform.swt-7788543f2234fb4248a34439bb9d9ad91e0924b8.tar.gz
eclipse.platform.swt-7788543f2234fb4248a34439bb9d9ad91e0924b8.tar.xz
eclipse.platform.swt-7788543f2234fb4248a34439bb9d9ad91e0924b8.zip
wrong prototipe in Panther
-rw-r--r--bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
index f226224190..d7bacf6f81 100644
--- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
+++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/org.eclipse.swt.internal.carbon.OS.properties
@@ -3641,7 +3641,7 @@ OS_SetFontInfoForSelection=
OS_SetFontInfoForSelection_0=cast=(OSType)
OS_SetFontInfoForSelection_1=cast=(UInt32)
OS_SetFontInfoForSelection_2=cast=(void *)
-OS_SetFontInfoForSelection_3=cast=EventTargetRef
+OS_SetFontInfoForSelection_3=cast=void *
OS_SetFrontProcess=
OS_SetFrontProcess_0=cast=(const ProcessSerialNumber *)
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
index c7c82a4834..77582e20ae 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c
@@ -9893,7 +9893,7 @@ JNIEXPORT jint JNICALL OS_NATIVE(SetFontInfoForSelection)
{
jint rc = 0;
OS_NATIVE_ENTER(env, that, SetFontInfoForSelection_FUNC);
- rc = (jint)SetFontInfoForSelection((OSType)arg0, (UInt32)arg1, (void *)arg2, (EventTargetRef)arg3);
+ rc = (jint)SetFontInfoForSelection((OSType)arg0, (UInt32)arg1, (void *)arg2, (void *)arg3);
OS_NATIVE_EXIT(env, that, SetFontInfoForSelection_FUNC);
return rc;
}