[gtk+] spinbutton: don't remove the entry style class while rendering arrows



commit 4d8b5baf7ec477f42a9403e64eeb096a9d1fa90c
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Jun 9 14:55:50 2011 -0400

    spinbutton: don't remove the entry style class while rendering arrows

 gtk/gtkspinbutton.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index caa24b2..90a6a52 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -931,7 +931,6 @@ gtk_spin_button_draw (GtkWidget      *widget,
 
   gtk_style_context_save (context);
   gtk_style_context_set_state (context, state);
-  gtk_style_context_remove_class (context, GTK_STYLE_CLASS_ENTRY);
 
   if (is_rtl)
     gtk_style_context_set_junction_sides (context, GTK_JUNCTION_RIGHT);



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