Export this privately.

2006-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.h:
	* gtk/gtkicontheme.c (_gtk_icon_theme_ensure_builtin_cache):
	Export this privately.

	* gtk/gtkiconfactory.c (render_fallback_image): And call it
	here to initialize the builtin cache before using it.  (#348063,
	Diego Pettenò)
This commit is contained in:
Matthias Clasen
2006-07-20 18:07:21 +00:00
committed by Matthias Clasen
parent 066bb1b8f6
commit 7014a3b5bb
5 changed files with 29 additions and 4 deletions

View File

@ -1129,7 +1129,7 @@ load_themes (GtkIconTheme *icon_theme)
priv->last_stat_time = tv.tv_sec;
}
static void
void
_gtk_icon_theme_ensure_builtin_cache (void)
{
static gboolean initialized = FALSE;