1
--- openjdk/j2se/src/solaris/native/sun/awt/gtk2_interface.c.orig 2007-09-27 04:08:04.000000000 -0400
2
+++ openjdk/j2se/src/solaris/native/sun/awt/gtk2_interface.c 2007-10-04 16:31:04.000000000 -0400
4
(*fp_gtk_menu_item_set_submenu)((GtkMenuItem*)root_menu, result);
5
(*fp_gtk_menu_shell_append)((GtkMenuShell *)menu_bar, root_menu);
7
- else if (widget_type == COMBO_BOX_ARROW_BUTTON ||
8
- widget_type == COMBO_BOX_TEXT_FIELD)
11
- * We add a regular GtkButton/GtkEntry to a GtkComboBoxEntry
12
- * in order to trick engines into thinking it's a real combobox
13
- * arrow button/text field.
15
- GtkWidget *combo = (*fp_gtk_combo_box_entry_new)();
16
- (*fp_gtk_container_add)((GtkContainer *)combo, result);
17
- (*fp_gtk_container_add)((GtkContainer *)gtk2_fixed, combo);
18
- (*fp_gtk_widget_realize)(result);
21
else if (widget_type != TOOL_TIP &&
22
widget_type != INTERNAL_FRAME &&
23
widget_type != OPTION_PANE)