diff options
author | Matthias Clasen <mclasen@redhat.com> | 2006-08-15 17:44:09 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2006-08-15 17:44:09 +0000 |
commit | 6f535cb264390189df7a92cd6655e32f5cd3c1db (patch) | |
tree | 823f26be39680dbc0f0d14cfb8420db40c768655 /gtk | |
parent | fbf63397004fb3dcf8bf6a12c1373dd17ff210a9 (diff) | |
download | gdk-pixbuf-6f535cb264390189df7a92cd6655e32f5cd3c1db.tar.gz |
Run the reset_styles idle at a priority higher than size negotiation.
2006-08-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkicontheme.c (do_theme_change): Run the reset_styles
idle at a priority higher than size negotiation. (#350517,
Søren Sandmann)
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkicontheme.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index ebfc282a4..8eb75cf8e 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -40,6 +40,7 @@ #include "gtkiconcache.h" #include "gtkbuiltincache.h" #include "gtkintl.h" +#include "gtkmain.h" #include "gtksettings.h" #include "gtkprivate.h" #include "gtkalias.h" @@ -618,7 +619,8 @@ do_theme_change (GtkIconTheme *icon_theme) if (!priv->reset_styles_idle) priv->reset_styles_idle = - g_idle_add (reset_styles_idle, icon_theme); + g_idle_add_full (GTK_PRIORITY_RESIZE + 2, + reset_styles_idle, icon_theme, NULL); } static void |