--- thunar-vfs/thunar-vfs-thumb.c +++ thunar-vfs/thunar-vfs-thumb.c @@ -1169,7 +1169,7 @@ goto done0; /* verify the png signature */ - if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature)))) + if (G_LIKELY (!png_sig_cmp ((png_bytep) signature, 0, sizeof (signature)))) rewind (fp); else goto done0;