src/solaris/native/sun/awt/gtk2_interface.h

Print this page

        

*** 641,650 **** --- 641,658 ---- /* * Converts java.lang.String object to UTF-8 character string. */ const char *getStrFor(JNIEnv *env, jstring value); + /** + * Returns : + * NULL if the GLib library is compatible with the given version, or a string + * describing the version mismatch. + */ + gchar* (*fp_glib_check_version)(guint required_major, guint required_minor, + guint required_micro); + /* * Check whether the gtk2 library is available and meets the minimum * version requirement. If the library is already loaded this method has no * effect and returns success. * Returns FALSE on failure and TRUE on success.
*** 661,671 **** /* * Load the gtk2 library. If the library is already loaded this method has no * effect and returns success. * Returns FALSE on failure and TRUE on success. */ ! gboolean gtk2_load(); /* * Loads fp_gtk_show_uri function pointer. This initialization is * separated because the function is required only * for java.awt.Desktop API. The function relies on initialization in --- 669,679 ---- /* * Load the gtk2 library. If the library is already loaded this method has no * effect and returns success. * Returns FALSE on failure and TRUE on success. */ ! gboolean gtk2_load(JNIEnv *env); /* * Loads fp_gtk_show_uri function pointer. This initialization is * separated because the function is required only * for java.awt.Desktop API. The function relies on initialization in
*** 799,808 **** --- 807,822 ---- void (*fp_gtk_widget_show)(GtkWidget *widget); void (*fp_gtk_main)(void); guint (*fp_gtk_main_level)(void); + /** + * This function is available for GLIB > 2.20, so it MUST be + * called within (fp_glib_check_version(2, 20, 0) == NULL) check. + */ + gboolean (*fp_g_thread_get_initialized)(void); + void (*fp_g_thread_init)(GThreadFunctions *vtable); void (*fp_gdk_threads_init)(void); void (*fp_gdk_threads_enter)(void); void (*fp_gdk_threads_leave)(void);