GtkStyle has been deprecated. I want to use GtkStyleContext instead (gtk_style_context_lookup_color) to find theme color.
I replaced successfully:
color = style->bg [GTK_STATE_SELECTED];
with:
gtk_style_context_lookup_color (context, "theme_selected_bg_color", &color)
but I do not know what color name to use to replace:
color = style->dark [GTK_STATE_NORMAL];
I need these colors to transfer them to a vumeter create with cairo:
gdk_cairo_set_source_rgba (cr, &color);