diff options
author | Grant Gayed <grant_gayed@ca.ibm.com> | 2011-09-27 12:57:35 -0400 |
---|---|---|
committer | Grant Gayed <grant_gayed@ca.ibm.com> | 2011-09-27 12:57:35 -0400 |
commit | be73abf6be7d500ac17b1247ebee741e3a177b7d (patch) | |
tree | eac5ab1b71f2da830dd2a53136c1af5b223cdad4 /bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java | |
parent | 7c05ea712090d921560edc39e2f8b7fcc08d357e (diff) | |
download | eclipse.platform.swt-be73abf6be7d500ac17b1247ebee741e3a177b7d.tar.gz eclipse.platform.swt-be73abf6be7d500ac17b1247ebee741e3a177b7d.tar.xz eclipse.platform.swt-be73abf6be7d500ac17b1247ebee741e3a177b7d.zip |
Bug 345682 WebKit for GTK not detected
Diffstat (limited to 'bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java')
-rw-r--r-- | bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java index 127718c611..7791aa4a1c 100644 --- a/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java +++ b/bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java @@ -572,7 +572,9 @@ void generateDynamicFunctionCall(JNIMethod method, JNIParameter[] params, JNITyp String name = method.getName(); if (name.startsWith("_")) name = name.substring(1); - output("\t\tLOAD_FUNCTION(fp, "); + output("\t\t"); + output(method.getDeclaringClass().getSimpleName()); + output("_LOAD_FUNCTION(fp, "); output(name); outputln(")"); outputln("\t\tif (fp) {"); |