Seems that your version of glib is too old, or it isn't included properly in the thunar code.
Try checking to see if the following is in the "include" section of thunar-shortcuts-pane.c:
If it is, then update glib. If not, try adding it and see what happens. If it then continues you've found a bug in thunar.