diff options
author | Grant Gayed <ggayed> | 2010-02-04 19:57:27 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2010-02-04 19:57:27 +0000 |
commit | e4cdd0cb7ffb526fe1914c6febbe6f0fd302e1cf (patch) | |
tree | fde188a783fa140d61e722baf8b2f75bf0d3c3f3 /bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library | |
parent | be703a404ab57eff07cba4733ffdcf450aec4432 (diff) | |
download | eclipse.platform.swt-e4cdd0cb7ffb526fe1914c6febbe6f0fd302e1cf.tar.gz eclipse.platform.swt-e4cdd0cb7ffb526fe1914c6febbe6f0fd302e1cf.tar.xz eclipse.platform.swt-e4cdd0cb7ffb526fe1914c6febbe6f0fd302e1cf.zip |
301684 - Fatal crash when creating Cursor
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library')
3 files changed, 3 insertions, 17 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c index c721b0fcf5..dc80e60634 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa.c @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2009 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -67,18 +67,6 @@ JNIEXPORT jint JNICALL Cocoa_NATIVE(HIWebViewGetWebView) } #endif -#ifndef NO_NSApplicationLoad -JNIEXPORT jint JNICALL Cocoa_NATIVE(NSApplicationLoad) - (JNIEnv *env, jclass that) -{ - jint rc = 0; - Cocoa_NATIVE_ENTER(env, that, NSApplicationLoad_FUNC); - rc = (jint)NSApplicationLoad(); - Cocoa_NATIVE_EXIT(env, that, NSApplicationLoad_FUNC); - return rc; -} -#endif - #ifndef NO_NSDeviceRGBColorSpace JNIEXPORT jint JNICALL Cocoa_NATIVE(NSDeviceRGBColorSpace) (JNIEnv *env, jclass that) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c index ab44d0ad7f..a51c942092 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.c @@ -14,14 +14,13 @@ #ifdef NATIVE_STATS -int Cocoa_nativeFunctionCount = 37; -int Cocoa_nativeFunctionCallCount[37]; +int Cocoa_nativeFunctionCount = 36; +int Cocoa_nativeFunctionCallCount[36]; char * Cocoa_nativeFunctionNames[] = { "HICocoaViewCreate", "HIJavaViewCreateWithCocoaView", "HIWebViewCreate", "HIWebViewGetWebView", - "NSApplicationLoad", "NSDeviceRGBColorSpace", "NSSearchPathForDirectoriesInDomains", "WebInitForCarbon", diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h index 19f8642388..c81ba28683 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/cocoa_stats.h @@ -29,7 +29,6 @@ typedef enum { HIJavaViewCreateWithCocoaView_FUNC, HIWebViewCreate_FUNC, HIWebViewGetWebView_FUNC, - NSApplicationLoad_FUNC, NSDeviceRGBColorSpace_FUNC, NSSearchPathForDirectoriesInDomains_FUNC, WebInitForCarbon_FUNC, |