Make gtk_icon_theme_load_icon() work independent of icon factory

2005-01-03  Matthias Clasen  <mclasen@redhat.com>

	Make gtk_icon_theme_load_icon() work independent of
	icon factory initialization.  (#162791, Tristan Van Berkom)

	* gtk/gtkiconfactory.[hc]: Rename ensure_default_icons to
	_gtk_icon_factory_ensure_default_icons, and make it non-static.

	* gtk/gtkicontheme.c (find_builtin_icon): ..and call it here.
This commit is contained in:
Matthias Clasen
2005-01-03 14:44:33 +00:00
committed by Matthias Clasen
parent 27c23e4dd5
commit 35dfce0f90
7 changed files with 48 additions and 4 deletions

View File

@ -180,6 +180,7 @@ GtkIconSize gtk_icon_source_get_size (const GtkIconSource *
/* ignore this */
void _gtk_icon_set_invalidate_caches (void);
GSList* _gtk_icon_factory_list_ids (void);
void _gtk_icon_factory_ensure_default_icons (void);
#ifdef __cplusplus
}