[gtk+/wip/unfocused-fixes: 5/27] button: Stop setting state flags on the style context for drawing



commit 1d1ecaf3da99ea9a69380eda1a931a812a66252f
Author: Rui Matos <tiagomatos gmail com>
Date:   Thu Dec 15 01:35:48 2011 +0000

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

 gtk/gtkbutton.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c
index a4f8acf..080cbb7 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]