[gtk+] entry: Also update cached style values when the state changes



commit 2d58625e029e9474ddf9f97898cd2759f1583237
Author: Benjamin Otte <otte redhat com>
Date:   Tue Apr 19 20:06:36 2011 +0200

    entry: Also update cached style values when the state changes

 gtk/gtkentry.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 1b7c11b..21300cf 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -4357,6 +4357,8 @@ gtk_entry_state_flags_changed (GtkWidget     *widget,
       gtk_editable_select_region (GTK_EDITABLE (entry), priv->current_pos, priv->current_pos);
     }
   
+  gtk_entry_update_cached_style_values (entry);
+
   gtk_widget_queue_draw (widget);
 }
 



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