I've just noticed that -Wl,--as-needed caused my thunar not to link to libstartup-notification. I've grepped the sources and I don't see a single reference to any of libstartup-nofication functions (they all start with sn_, so not hard to grep :)). Am I missing something or is the dependency stale? Grepping through the 'git log -p', I can find the most recent reference to sn functions in: commit 8990efaf5a89afa3a47b9358b57aa0ffad64eff0 Author: Nick Schermer <nick@xfce.org> Date: Sat Oct 17 18:23:52 2009 +0200 Use the spawn code from libxfce4ui. which removed those references :).
Yes, then we can probably drop these dependencies. Fixed in git master: http://git.xfce.org/xfce/thunar/commit/?id=dd7b7edee3ea4b3d8cc5e642837ae960b98b2974