[gtk+] GtkStyleContext: invalidate icon caches when resetting widgets
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkStyleContext: invalidate icon caches when resetting widgets
- Date: Sat, 4 Dec 2010 15:28:03 +0000 (UTC)
commit f261d56da32418ee6aa534a3fc08c76bb5a67f11
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Fri Dec 3 14:09:35 2010 +0100
GtkStyleContext: invalidate icon caches when resetting widgets
gtk/gtkstylecontext.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index d4f5db3..b8d8c99 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -33,6 +33,7 @@
#include "gtksymboliccolor.h"
#include "gtkanimationdescription.h"
#include "gtktimeline.h"
+#include "gtkiconfactory.h"
/**
* SECTION:gtkstylecontext
@@ -1332,6 +1333,8 @@ gtk_style_context_reset_widgets (GdkScreen *screen)
{
GList *list, *toplevels;
+ _gtk_icon_set_invalidate_caches ();
+
toplevels = gtk_window_list_toplevels ();
g_list_foreach (toplevels, (GFunc) g_object_ref, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]