mu: remove some unneeded code

Dead code, and replace mu_canonicalize_filename with g_canonicalize_filename.
This commit is contained in:
Dirk-Jan C. Binnema
2021-11-02 22:20:58 +02:00
parent 1242825a46
commit 4e6f2a3c26
5 changed files with 5 additions and 228 deletions

View File

@ -458,8 +458,8 @@ Mu::size_to_string(const std::string& val, bool is_first)
std::string
Mu::canonicalize_filename(const std::string& path, const std::string& relative_to)
{
char* fname = mu_canonicalize_filename(path.c_str(),
relative_to.empty() ? NULL : relative_to.c_str());
char* fname =
g_canonicalize_filename(path.c_str(), relative_to.empty() ? NULL : relative_to.c_str());
std::string rv{fname};
g_free(fname);