[gtk+] widget: Don't invalidate style context in its invalidate callback
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] widget: Don't invalidate style context in its invalidate callback
- Date: Sun, 27 Mar 2011 02:19:00 +0000 (UTC)
commit 9d3465412e9b38a7fb467a21a3f5c1a1d46e8c68
Author: Benjamin Otte <otte redhat com>
Date: Sun Mar 27 03:39:43 2011 +0200
widget: Don't invalidate style context in its invalidate callback
gtk/gtkwidget.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index f64841b..1cbdbcd 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -6481,8 +6481,6 @@ gtk_widget_real_style_updated (GtkWidget *widget)
if (widget->priv->context)
{
- gtk_style_context_invalidate (widget->priv->context);
-
if (gtk_widget_get_realized (widget) &&
gtk_widget_get_has_window (widget))
gtk_style_context_set_background (widget->priv->context,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]