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

Print this page




 766             dl_symbol("gtk_widget_style_get_property");
 767         fp_pango_font_description_to_string =
 768             dl_symbol("pango_font_description_to_string");
 769         fp_gtk_settings_get_default =
 770             dl_symbol("gtk_settings_get_default");
 771         fp_gtk_widget_get_settings =
 772             dl_symbol("gtk_widget_get_settings");
 773         fp_gtk_border_get_type =  dl_symbol("gtk_border_get_type");
 774         fp_gtk_arrow_set = dl_symbol("gtk_arrow_set");
 775         fp_gtk_widget_size_request =
 776             dl_symbol("gtk_widget_size_request");
 777         fp_gtk_range_get_adjustment =
 778             dl_symbol("gtk_range_get_adjustment");
 779 
 780         fp_gtk_widget_hide = dl_symbol("gtk_widget_hide");
 781         fp_gtk_main_quit = dl_symbol("gtk_main_quit");
 782         fp_g_signal_connect_data = dl_symbol("g_signal_connect_data");
 783         fp_gtk_widget_show = dl_symbol("gtk_widget_show");
 784         fp_gtk_main = dl_symbol("gtk_main");
 785 


 786         /**
 787          * GLib thread system
 788          */
 789         if (GLIB_CHECK_VERSION(2, 20, 0)) {
 790             fp_g_thread_get_initialized = dl_symbol_gthread("g_thread_get_initialized");
 791         }
 792         fp_g_thread_init = dl_symbol_gthread("g_thread_init");
 793         fp_gdk_threads_init = dl_symbol("gdk_threads_init");
 794         fp_gdk_threads_enter = dl_symbol("gdk_threads_enter");
 795         fp_gdk_threads_leave = dl_symbol("gdk_threads_leave");
 796 
 797         /**
 798          * Functions for sun_awt_X11_GtkFileDialogPeer.c
 799          */
 800         if (fp_gtk_check_version(2, 4, 0) == NULL) {
 801             // The current GtkFileChooser is available from GTK+ 2.4
 802             gtk2_file_chooser_load();
 803         }
 804 
 805         /* Some functions may be missing in pre-2.4 GTK.




 766             dl_symbol("gtk_widget_style_get_property");
 767         fp_pango_font_description_to_string =
 768             dl_symbol("pango_font_description_to_string");
 769         fp_gtk_settings_get_default =
 770             dl_symbol("gtk_settings_get_default");
 771         fp_gtk_widget_get_settings =
 772             dl_symbol("gtk_widget_get_settings");
 773         fp_gtk_border_get_type =  dl_symbol("gtk_border_get_type");
 774         fp_gtk_arrow_set = dl_symbol("gtk_arrow_set");
 775         fp_gtk_widget_size_request =
 776             dl_symbol("gtk_widget_size_request");
 777         fp_gtk_range_get_adjustment =
 778             dl_symbol("gtk_range_get_adjustment");
 779 
 780         fp_gtk_widget_hide = dl_symbol("gtk_widget_hide");
 781         fp_gtk_main_quit = dl_symbol("gtk_main_quit");
 782         fp_g_signal_connect_data = dl_symbol("g_signal_connect_data");
 783         fp_gtk_widget_show = dl_symbol("gtk_widget_show");
 784         fp_gtk_main = dl_symbol("gtk_main");
 785 
 786         fp_g_path_get_dirname = dl_symbol("g_path_get_dirname");
 787 
 788         /**
 789          * GLib thread system
 790          */
 791         if (GLIB_CHECK_VERSION(2, 20, 0)) {
 792             fp_g_thread_get_initialized = dl_symbol_gthread("g_thread_get_initialized");
 793         }
 794         fp_g_thread_init = dl_symbol_gthread("g_thread_init");
 795         fp_gdk_threads_init = dl_symbol("gdk_threads_init");
 796         fp_gdk_threads_enter = dl_symbol("gdk_threads_enter");
 797         fp_gdk_threads_leave = dl_symbol("gdk_threads_leave");
 798 
 799         /**
 800          * Functions for sun_awt_X11_GtkFileDialogPeer.c
 801          */
 802         if (fp_gtk_check_version(2, 4, 0) == NULL) {
 803             // The current GtkFileChooser is available from GTK+ 2.4
 804             gtk2_file_chooser_load();
 805         }
 806 
 807         /* Some functions may be missing in pre-2.4 GTK.