static gchar *thumb_loader_std_cache_path(ThumbLoaderStd *tl, gint local, GdkPixbuf *pixbuf, gint fail)
{
- const gchar *folder_size;
+ const gchar *folder;
gint w, h;
if (!tl->source_path || !tl->thumb_uri) return NULL;
if (fail)
{
- folder_size = THUMB_FOLDER_FAIL;
+ folder = THUMB_FOLDER_FAIL;
}
else if (w > THUMB_SIZE_NORMAL || h > THUMB_SIZE_NORMAL)
{
- folder_size = THUMB_FOLDER_LARGE;
+ folder = THUMB_FOLDER_LARGE;
}
else
{
- folder_size = THUMB_FOLDER_NORMAL;
+ folder = THUMB_FOLDER_NORMAL;
}
return thumb_std_cache_path(tl->source_path,
(local) ? tl->local_uri : tl->thumb_uri,
- local, folder_size);
+ local, folder);
}
static gint thumb_loader_std_fail_check(ThumbLoaderStd *tl)
/* local failures are not stored */
if (tl->cache_local) return;
- pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, 1, 1);
+ pixbuf = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, 1, 1);
fail = TRUE;
}
else