< prev index next >
src/java.desktop/unix/native/libawt_xawt/xawt/XToolkit.c
Print this page
*** 77,96 ****
#ifndef HEADLESS
extern Display* awt_init_Display(JNIEnv *env, jobject this);
extern void freeNativeStringArray(char **array, jsize length);
extern char** stringArrayToNative(JNIEnv *env, jobjectArray array, jsize * ret_length);
-
- struct XFontPeerIDs xFontPeerIDs;
-
- JNIEXPORT void JNICALL
- Java_sun_awt_X11_XFontPeer_initIDs
- (JNIEnv *env, jclass cls)
- {
- xFontPeerIDs.xfsname =
- (*env)->GetFieldID(env, cls, "xfsname", "Ljava/lang/String;");
- }
#endif /* !HEADLESS */
/* This function gets called from the static initializer for FileDialog.java
to initialize the fieldIDs for fields that may be accessed from C */
--- 77,86 ----
< prev index next >