From 378e8a6224c76b2f7d70c1ff718f8a911c4b34b9 Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Thu, 5 Dec 2013 04:52:24 +0600 Subject: fs/AllocatedPath.cxx: don't use g_path_get_dirname --- src/fs/AllocatedPath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3