aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/iconcache.c
diff options
context:
space:
mode:
authorLeandro A. F. Pereira <leandro@hardinfo.org>2006-11-20 13:36:08 +0000
committerLeandro A. F. Pereira <leandro@hardinfo.org>2006-11-20 13:36:08 +0000
commitdd1e13d0d459db5847649b0b45b84a68a3b2b667 (patch)
tree8349a8093a3d682598bebc9cb885a6c477403787 /hardinfo2/iconcache.c
parente1244a5e16cf78fdf9d70009d4d0be368891eacd (diff)
More cleanups
Diffstat (limited to 'hardinfo2/iconcache.c')
-rw-r--r--hardinfo2/iconcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hardinfo2/iconcache.c b/hardinfo2/iconcache.c
index 9cb5a035..69e411e5 100644
--- a/hardinfo2/iconcache.c
+++ b/hardinfo2/iconcache.c
@@ -37,7 +37,7 @@ GdkPixbuf *icon_cache_get_pixbuf(const gchar *file)
icon = g_hash_table_lookup(cache, file);
if (!icon) {
- gchar *tmp = g_build_filename(path_data, "pixmaps", file, NULL);
+ gchar *tmp = g_build_filename(params.path_data, "pixmaps", file, NULL);
icon = gdk_pixbuf_new_from_file(tmp, NULL);
g_hash_table_insert(cache, g_strdup(file), icon);
@@ -64,7 +64,7 @@ GdkPixbuf *icon_cache_get_pixbuf_at_size(const gchar *file, gint wid, gint hei)
icon = g_hash_table_lookup(cache, file);
if (!icon) {
- gchar *tmp = g_build_filename(path_data, "pixmaps", file, NULL);
+ gchar *tmp = g_build_filename(params.path_data, "pixmaps", file, NULL);
icon = gdk_pixbuf_new_from_file_at_size(tmp, wid, hei, NULL);
g_hash_table_insert(cache, g_strdup(file), icon);