]> Pileus Git - ~andy/gtk/commitdiff
entry: No need to reset layouts on style_updated
authorAlexander Larsson <alexl@redhat.com>
Thu, 6 Dec 2012 18:52:35 +0000 (19:52 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 6 Dec 2012 18:54:05 +0000 (19:54 +0100)
With pango handling changes to the PangoLayout there now is no
style changes that can affect the layout for the entry, so we don't
have to reset the layout whenever the style is updated.

gtk/gtkentry.c

index 6f9e72f39c1eab4f5854150e60373bdb7139ab87..184277c01bc39c7eb818320fd268902e9db94bef 100644 (file)
@@ -4865,8 +4865,6 @@ gtk_entry_style_updated (GtkWidget *widget)
 
   gtk_entry_update_cached_style_values (entry);
 
-  gtk_entry_recompute (entry);
-
   icon_theme_changed (entry);
 }