Use ::g_rename instead of ::rename in ARDOUR::FileSource class
authorTim Mayberry <mojofunk@gmail.com>
Wed, 14 Sep 2016 11:58:19 +0000 (21:58 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Thu, 15 Sep 2016 11:27:55 +0000 (21:27 +1000)
commit331bfef416b502c63a0498270a2bdcf7777f9fe0
tree7981a6935c3ff5343164995c940e6b888a03d81a
parente297e27b7f41707254f68a9bab8265bd38a9fde8
Use ::g_rename instead of ::rename in ARDOUR::FileSource class

The path is in UTF-8 encoding so use Glib functions to properly support paths
containing characters that aren't in the system codepage.

This fixes Clean-up Unused Sources on Windows where paths contain characters
that aren't in the system codepage(usually most non-ascii characters).
libs/ardour/file_source.cc