/* do not save the thumbnail if the source file has changed meanwhile -
the thumbnail is most probably broken */
- if (stat_utf8(tl->fd->path, &st) &&
+ if (stat_utf8(tl->fd->path, &st) &&
tl->source_mtime == st.st_mtime &&
tl->source_size == st.st_size)
{
GdkPixbuf *pixbuf;
gboolean valid = FALSE;
- /* get the original thumbnail pixbuf (unrotated, with original options)
+ /* get the original thumbnail pixbuf (unrotated, with original options)
this is called from image_loader done callback, so tv->tl->il must exist*/
- pixbuf = image_loader_get_pixbuf(tv->tl->il);
+ pixbuf = image_loader_get_pixbuf(tv->tl->il);
if (pixbuf)
{
const gchar *uri;
TMaintMove *tm = data;
GdkPixbuf *pixbuf;
- /* get the original thumbnail pixbuf (unrotated, with original options)
+ /* get the original thumbnail pixbuf (unrotated, with original options)
this is called from image_loader done callback, so tm->tl->il must exist*/
- pixbuf = image_loader_get_pixbuf(tm->tl->il);
+ pixbuf = image_loader_get_pixbuf(tm->tl->il);
if (pixbuf)
{
const gchar *uri;