From e868b8d6ea04af6e31d7075d09508689873c0df5 Mon Sep 17 00:00:00 2001 From: Rui Matos Date: Thu, 15 Dec 2011 01:35:48 +0000 Subject: [PATCH] button: Stop setting state flags on the style context for drawing --- gtk/gtkbutton.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index a4f8acf2d3..080cbb7cd7 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -1576,7 +1576,6 @@ _gtk_button_paint (GtkButton *button, context = gtk_widget_get_style_context (widget); 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_style_context_get_style (context,