[awt_xawt] JNI_OnLoad

This commit is contained in:
Duy Tran Khanh 2020-12-01 12:21:19 +07:00 committed by GitHub
parent a3adc77d18
commit 640bbec725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,17 +97,6 @@ JNIEXPORT jlong JNICALL Java_sun_awt_X11_XToolkit_getDefaultXColormap
return (jlong) 0; return (jlong) 0;
} }
JNIEXPORT jint JNICALL
JNI_OnLoad(JavaVM *vm, void *reserved)
{
// jvm = vm;
//Set the gtk backend to x11 on all the systems
// putenv("GDK_BACKEND=x11");
return JNI_VERSION_1_2;
}
/* /*
* Class: sun_awt_X11_XToolkit * Class: sun_awt_X11_XToolkit
* Method: nativeLoadSystemColors * Method: nativeLoadSystemColors