src/solaris/native/sun/awt/awt_UNIXToolkit.c

Print this page

        

*** 258,262 **** --- 258,283 ---- if (splashClose) { splashClose(); } dlclose(hSplashLib); } + + /* + * Class: sun_awt_UNIXToolkit + * Method: gtkCheckVersionImpl + * Signature: (III)Ljava/lang/String; + */ + JNIEXPORT jboolean JNICALL + Java_sun_awt_UNIXToolkit_gtkCheckVersionImpl + (JNIEnv *env, jobject this, jint major, jint minor, jint micro) + { + char *ret; + + ret = fp_gtk_check_version(major, minor, micro); + if (ret == NULL) + { + return TRUE; + } + + free(ret); + return FALSE; + }