aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-12-05 04:52:24 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-12-05 12:35:28 +0600
commit378e8a6224c76b2f7d70c1ff718f8a911c4b34b9 (patch)
treeac71f1865b43ce9085b1eb621e5e8a7c5986d0ec /src/fs
parent289fdcc52b34e3ac4ff08355c47cb0e8bac6f737 (diff)
downloadmpd-378e8a6224c76b2f7d70c1ff718f8a911c4b34b9.tar.gz
mpd-378e8a6224c76b2f7d70c1ff718f8a911c4b34b9.tar.xz
mpd-378e8a6224c76b2f7d70c1ff718f8a911c4b34b9.zip
fs/AllocatedPath.cxx: don't use g_path_get_dirname
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/AllocatedPath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx
index 9dc7a644c..0d0aaacbe 100644
--- a/src/fs/AllocatedPath.cxx
+++ b/src/fs/AllocatedPath.cxx
@@ -57,7 +57,7 @@ AllocatedPath::FromUTF8(const char *path_utf8, Error &error)
AllocatedPath
AllocatedPath::GetDirectoryName() const
{
- return AllocatedPath(Donate(), g_path_get_dirname(c_str()));
+ return FromFS(PathTraitsFS::GetParent(c_str()));
}
std::string