Commit ef0f02e3 authored by Sebastian Keller's avatar Sebastian Keller Committed by Bastien Nocera

thumbnail: Include the filename in the thumbnail path

thumbnail_path did not include the actual filename in its result after
calculating it. This breaks things in save_thumbnail which assumes
receiving a file path rather than a directory path.

See original code before clean ups at:
parent ef4734f8
......@@ -1049,6 +1049,7 @@ thumbnail_path (const char *uri,
path = g_build_filename (g_get_user_cache_dir (),
size == GNOME_DESKTOP_THUMBNAIL_SIZE_LARGE ? "large" : "normal",
g_free (file);
return path;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment