src/java.desktop/unix/native/libawt_xawt/awt/gtk3_interface.c
changeset 53665 2121afe70084
parent 50824 871e0ee4bad4
child 53800 76668d618a99
equal deleted inserted replaced
53190:8cc938aa8f74 53665:2121afe70084
  1610 
  1610 
  1611     fp_gtk_style_context_save (context);
  1611     fp_gtk_style_context_save (context);
  1612 
  1612 
  1613     GtkStateFlags flags = get_gtk_flags(state_type);
  1613     GtkStateFlags flags = get_gtk_flags(state_type);
  1614     if (expander_style == GTK_EXPANDER_EXPANDED) {
  1614     if (expander_style == GTK_EXPANDER_EXPANDED) {
  1615         flags |= GTK_STATE_FLAG_ACTIVE;
  1615         if (gtk3_version_3_14) {
       
  1616             flags |= GTK_STATE_FLAG_CHECKED;
       
  1617         } else {
       
  1618             flags |= GTK_STATE_FLAG_ACTIVE;
       
  1619         }
  1616     }
  1620     }
  1617 
  1621 
  1618     fp_gtk_style_context_set_state(context, flags);
  1622     fp_gtk_style_context_set_state(context, flags);
  1619 
  1623 
  1620     if (detail != 0) {
  1624     if (detail != 0) {