[gtk+/wip/unfocused-fixes: 5/13] button: Stop setting state flags on the style context for drawing
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/unfocused-fixes: 5/13] button: Stop setting state flags on the style context for drawing
- Date: Sat, 17 Dec 2011 17:21:28 +0000 (UTC)
commit f7889a744ef15bfd32f47b0da1ec6ae18321ca25
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]