[gtk+] entry: No need to reset layouts on style_updated
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] entry: No need to reset layouts on style_updated
- Date: Thu, 6 Dec 2012 20:01:56 +0000 (UTC)
commit e6de45964dc1937781f8428c8f9d7a1457f7fba0
Author: Alexander Larsson <alexl redhat com>
Date: Thu Dec 6 19:52:35 2012 +0100
entry: No need to reset layouts on style_updated
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 | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 6f9e72f..184277c 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]