GtkStyleContext: invalidate icon caches when resetting widgets
This commit is contained in:
committed by
Carlos Garnacho
parent
3b3307b946
commit
f261d56da3
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user