[gtk+] entry: Use the same state for the flat box of text area and icons



commit 78ccc748791ed6f7bd03b0ca6bb78f88bda9e658
Author: Benjamin Otte <otte redhat com>
Date:   Fri Sep 3 17:01:06 2010 +0200

    entry: Use the same state for the flat box of text area and icons

 gtk/gtkentry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index ff00922..548e42c 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -3509,7 +3509,7 @@ gtk_entry_expose (GtkWidget      *widget,
               gdk_drawable_get_size (icon_info->window, &width, &height);
 
               gtk_paint_flat_box (style, icon_info->window,
-                                  gtk_widget_get_state (widget), GTK_SHADOW_NONE,
+                                  state, GTK_SHADOW_NONE,
                                   NULL, widget, "entry_bg",
                                   0, 0, width, height);
 



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