mu: remove some unneeded code
Dead code, and replace mu_canonicalize_filename with g_canonicalize_filename.
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user