VB_WIDGET_OVERRIDE_TEXT(comp.tree, VB_GTK_STATE_NORMAL, &vb.style.comp_fg[VB_COMP_NORMAL]);
VB_WIDGET_OVERRIDE_BASE(comp.tree, VB_GTK_STATE_NORMAL, &vb.style.comp_bg[VB_COMP_NORMAL]);
- VB_WIDGET_OVERRIDE_TEXT(comp.tree, VB_GTK_STATE_SELECTED, &vb.style.comp_fg[VB_COMP_ACTIVE]);
- VB_WIDGET_OVERRIDE_BASE(comp.tree, VB_GTK_STATE_SELECTED, &vb.style.comp_bg[VB_COMP_ACTIVE]);
+ VB_WIDGET_OVERRIDE_TEXT(comp.tree, VB_GTK_STATE_ACTIVE, &vb.style.comp_fg[VB_COMP_ACTIVE]);
+ VB_WIDGET_OVERRIDE_BASE(comp.tree, VB_GTK_STATE_ACTIVE, &vb.style.comp_bg[VB_COMP_ACTIVE]);
/* prepare the selection */
selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(comp.tree));
#define VB_GTK_STATE_NORMAL GTK_STATE_FLAG_NORMAL
#define VB_GTK_STATE_ACTIVE GTK_STATE_FLAG_ACTIVE
-#define VB_GTK_STATE_SELECTED GTK_STATE_FLAG_SELECTED
#define VB_WIDGET_SET_STATE(w, s) (gtk_widget_set_state_flags(w, s, true))
#else
#define VB_GTK_STATE_NORMAL GTK_STATE_NORMAL
#define VB_GTK_STATE_ACTIVE GTK_STATE_ACTIVE
-#define VB_GTK_STATE_SELECTED GTK_STATE_SELECTED
#define VB_WIDGET_SET_STATE(w, s) (gtk_widget_set_state(w, s))
#endif