Created attachment 3776 replace deprecated functions attached patch makes thunar compile with -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED on gtk+-2.20 and glib-2.24, tested on a debian stable box
Pushed in 8732210 with some more changes, only forgot to set you as author...