treestore: fix transformation of GValues on set
treestore: fix transformation of GValues on set

There are three bugs here:
- we should check if the value type is transformable instead of being
  compatible, since that's all we care about in order to call
  g_value_transform()
- the check is only meaningful in the direction
  passed-in-type->column-type and not viceversa
- we should init the destination GValue to the column type before
  calling g_value_transform on it, or the destination type information
  will be missing and the method will fail

Thanks to Jasper St. Pierre and Colin Walters for all the help in
tracking this down.

https://bugzilla.gnome.org/show_bug.cgi?id=677649

ahodesuka/gtk,bratsche/gtk-,alexlarsson/gtk,ahodesuka/gtk,davidgumberg/gtk,Sidnioulz/SandboxGtk,jessevdk/gtk,jigpu/gtk,Lyude/gtk-,Lyude/gtk-,msteinert/gtk,chergert/gtk,msteinert/gtk,msteinert/gtk,chergert/gtk,davidt/gtk,jadahl/gtk,bratsche/gtk-,bratsche/gtk-,msteinert/gtk,alexlarsson/gtk,Lyude/gtk-,jessevdk/gtk,davidt/gtk,alexlarsson/gtk,ebassi/gtk,alexlarsson/gtk,Adamovskiy/gtk,ebassi/gtk,ebassi/gtk,jigpu/gtk,davidgumberg/gtk,chergert/gtk,Sidnioulz/SandboxGtk,jigpu/gtk,davidt/gtk,Distrotech/gtk2,chergert/gtk,Adamovskiy/gtk,davidgumberg/gtk,jadahl/gtk,Adamovskiy/gtk,jessevdk/gtk,ahodesuka/gtk,chergert/gtk,davidgumberg/gtk,bratsche/gtk-,grubersjoe/adwaita,Sidnioulz/SandboxGtk,alexlarsson/gtk,grubersjoe/adwaita,jadahl/gtk,Sidnioulz/SandboxGtk,grubersjoe/adwaita,Adamovskiy/gtk,jadahl/gtk,Distrotech/gtk2,bratsche/gtk-,alexlarsson/gtk,Distrotech/gtk2,jigpu/gtk,jadahl/gtk,ahodesuka/gtk,Adamovskiy/gtk,jigpu/gtk,jessevdk/gtk,Adamovskiy/gtk,davidgumberg/gtk,jessevdk/gtk,chergert/gtk,ahodesuka/gtk,Lyude/gtk-,Distrotech/gtk2,Distrotech/gtk2,ahodesuka/gtk,chergert/gtk,Distrotech/gtk2,msteinert/gtk,ebassi/gtk,Lyude/gtk-,ahodesuka/gtk,davidgumberg/gtk,Lyude/gtk-,davidt/gtk,msteinert/gtk,jigpu/gtk,davidt/gtk,jessevdk/gtk,alexlarsson/gtk,davidgumberg/gtk,Lyude/gtk-,jigpu/gtk,jessevdk/gtk,jadahl/gtk,alexlarsson/gtk,Sidnioulz/SandboxGtk,Adamovskiy/gtk,jadahl/gtk,ebassi/gtk,grubersjoe/adwaita,Adamovskiy/gtk,davidgumberg/gtk,Lyude/gtk-,grubersjoe/adwaita,Sidnioulz/SandboxGtk,grubersjoe/adwaita,grubersjoe/adwaita,chergert/gtk,jadahl/gtk,ahodesuka/gtk,grubersjoe/adwaita,ebassi/gtk,bratsche/gtk-,jigpu/gtk,davidt/gtk