The following patch fixes a compiler error about 'basename' in thunar-file.c with --enable-debug=full https://gist.github.com/LinuxMatt/2211af1ec5c73e3c533f thunar-file.c: In function ‘thunar_file_get_thumbnail_path’: thunar-file.c:3377:14: error: declaration of ‘basename’ shadows a global declaration [-Werror=shadow]
Thanks for the patch. Pushed to master in: http://git.xfce.org/xfce/thunar/commit/?id=ef818ad57eb84735e35805348a6924e94879add7