From 9508ea982b8feb012a9d354a7c80005421a854bc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 14 Oct 2013 22:38:29 +0200 Subject: fs/Path: add method IsAbsolute() --- src/ConfigPath.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ConfigPath.cxx') diff --git a/src/ConfigPath.cxx b/src/ConfigPath.cxx index 7096bcc82..879a1ea56 100644 --- a/src/ConfigPath.cxx +++ b/src/ConfigPath.cxx @@ -118,7 +118,7 @@ ParsePath(const char *path, Error &error) return Path::Null(); return Path::Build(home, path2); - } else if (!g_path_is_absolute(path)) { + } else if (!Path::IsAbsoluteUTF8(path)) { error.Format(path_domain, "not an absolute path: %s", path); return Path::Null(); -- cgit v1.2.3