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

@ -390,7 +390,7 @@ gtk_flow_box_child_draw (GtkWidget *widget,
gtk_widget_get_allocation (widget, &allocation);
context = gtk_widget_get_style_context (widget);
state = gtk_widget_get_state_flags (widget);
state = gtk_style_context_get_state (context);
gtk_render_background (context, cr, 0, 0, allocation.width, allocation.height);
gtk_render_frame (context, cr, 0, 0, allocation.width, allocation.height);