Created attachment 3818 Patch: Fix segfaults if icons are missing or cannot be found While implementing xfce 4.8 support on OpenEmbeedded I faced segfaults when starting thunar. Debugging lead to the reason: thunar is not prepared to work without icons. Attached is a patch making thunar more robust. It applies to master and 1.2.2. From my point of view no further efforts (error message) are required because one can see that the icons are missing :-)
Any comments on the patch?
Thanks for the report and the fix. I've adjusted the indentation in your patch and comitted it to master and xfce-4.8 (below is the master commit). This will be in Thunar 1.2.3 and Thunar 1.3.1. commit 2da5c8cfcccf484d6f39ff16cc0399859d1aff5e Author: Andreas Mueller <schnitzeltony@gmx.de> Date: Thu Aug 11 10:00:33 2011 +0200 Fix segfaults in case icons are missing or not found (bug #7880). Signed-off-by: Jannis Pohlmann <jannis@xfce.org>