Don't pass widget state flags to GtkStyleContext API

This commit is contained in:
Timm Bäder
2015-11-22 11:43:39 +01:00
parent f407871b87
commit 2182fe7d9d
18 changed files with 58 additions and 53 deletions

View File

@ -7821,7 +7821,7 @@ gtk_text_view_set_attributes_from_style (GtkTextView *text_view,
GtkStateFlags state;
context = gtk_widget_get_style_context (GTK_WIDGET (text_view));
state = gtk_widget_get_state_flags (GTK_WIDGET (text_view));
state = gtk_style_context_get_state (context);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
gtk_style_context_get_background_color (context, state, &bg_color);