button: Stop setting state flags on the style context for drawing

This commit is contained in:
Rui Matos 2011-12-15 01:35:48 +00:00
parent cf469eeb61
commit e868b8d6ea

View File

@ -1576,7 +1576,6 @@ _gtk_button_paint (GtkButton *button,
context = gtk_widget_get_style_context (widget); context = gtk_widget_get_style_context (widget);
gtk_style_context_save (context); gtk_style_context_save (context);
gtk_style_context_set_state (context, state);
gtk_button_get_props (button, &default_border, &default_outside_border, NULL, NULL, &interior_focus); gtk_button_get_props (button, &default_border, &default_outside_border, NULL, NULL, &interior_focus);
gtk_style_context_get_style (context, gtk_style_context_get_style (context,