812 We handle them specially here. 813 */ 814 fp_gtk_combo_box_new = dlsym(gtk2_libhandle, "gtk_combo_box_new"); 815 if (fp_gtk_combo_box_new == NULL) { 816 fp_gtk_combo_box_new = dl_symbol("gtk_combo_new"); 817 } 818 819 fp_gtk_combo_box_entry_new = 820 dlsym(gtk2_libhandle, "gtk_combo_box_entry_new"); 821 if (fp_gtk_combo_box_entry_new == NULL) { 822 fp_gtk_combo_box_entry_new = dl_symbol("gtk_combo_new"); 823 new_combo = FALSE; 824 } 825 826 fp_gtk_separator_tool_item_new = 827 dlsym(gtk2_libhandle, "gtk_separator_tool_item_new"); 828 if (fp_gtk_separator_tool_item_new == NULL) { 829 fp_gtk_separator_tool_item_new = 830 dl_symbol("gtk_vseparator_new"); 831 } 832 } 833 /* Now we have only one kind of exceptions: NO_SYMBOL_EXCEPTION 834 * Otherwise we can check the return value of setjmp method. 835 */ 836 else 837 { 838 dlclose(gtk2_libhandle); 839 gtk2_libhandle = NULL; 840 841 dlclose(gthread_libhandle); 842 gthread_libhandle = NULL; 843 844 return FALSE; 845 } 846 847 /* 848 * Strip the AT-SPI GTK_MODULEs if present 849 */ 850 gtk_modules_env = getenv ("GTK_MODULES"); 851 | 812 We handle them specially here. 813 */ 814 fp_gtk_combo_box_new = dlsym(gtk2_libhandle, "gtk_combo_box_new"); 815 if (fp_gtk_combo_box_new == NULL) { 816 fp_gtk_combo_box_new = dl_symbol("gtk_combo_new"); 817 } 818 819 fp_gtk_combo_box_entry_new = 820 dlsym(gtk2_libhandle, "gtk_combo_box_entry_new"); 821 if (fp_gtk_combo_box_entry_new == NULL) { 822 fp_gtk_combo_box_entry_new = dl_symbol("gtk_combo_new"); 823 new_combo = FALSE; 824 } 825 826 fp_gtk_separator_tool_item_new = 827 dlsym(gtk2_libhandle, "gtk_separator_tool_item_new"); 828 if (fp_gtk_separator_tool_item_new == NULL) { 829 fp_gtk_separator_tool_item_new = 830 dl_symbol("gtk_vseparator_new"); 831 } 832 833 fp_g_list_append = dl_symbol("g_list_append"); 834 fp_g_list_free = dl_symbol("g_list_free"); 835 fp_g_list_free_full = dl_symbol("g_list_free_full"); 836 } 837 /* Now we have only one kind of exceptions: NO_SYMBOL_EXCEPTION 838 * Otherwise we can check the return value of setjmp method. 839 */ 840 else 841 { 842 dlclose(gtk2_libhandle); 843 gtk2_libhandle = NULL; 844 845 dlclose(gthread_libhandle); 846 gthread_libhandle = NULL; 847 848 return FALSE; 849 } 850 851 /* 852 * Strip the AT-SPI GTK_MODULEs if present 853 */ 854 gtk_modules_env = getenv ("GTK_MODULES"); 855 |