theme-manager: ensure that icons are loaded

This uses the theme manager to ensure that we add the icon path for
consumers of the library.
This commit is contained in:
Christian Hergert
2016-11-23 19:19:43 -08:00
parent 44ff1f0396
commit 563a5e3e65

View File

@ -176,6 +176,8 @@ static void
sp_theme_manager_init (SpThemeManager *self)
{
self->theme_resources = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, theme_resource_free);
gtk_icon_theme_add_resource_path (gtk_icon_theme_get_default (), "/org/gnome/sysprof/icons");
}
/**