diff options
Diffstat (limited to 'base/nix')
-rw-r--r-- | base/nix/mime_util_xdg.cc | 2 | ||||
-rw-r--r-- | base/nix/xdg_util.cc | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/base/nix/mime_util_xdg.cc b/base/nix/mime_util_xdg.cc index 1a41394..a5a97f4 100644 --- a/base/nix/mime_util_xdg.cc +++ b/base/nix/mime_util_xdg.cc @@ -414,7 +414,7 @@ void AddXDGDataDir(const FilePath& dir) { // Add all the xdg icon directories. void InitIconDir() { - FilePath home = file_util::GetHomeDir(); + FilePath home = GetHomeDir(); if (!home.empty()) { FilePath legacy_data_dir(home); legacy_data_dir = legacy_data_dir.AppendASCII(".icons"); diff --git a/base/nix/xdg_util.cc b/base/nix/xdg_util.cc index b3caf2a..4c1510f 100644 --- a/base/nix/xdg_util.cc +++ b/base/nix/xdg_util.cc @@ -31,7 +31,7 @@ FilePath GetXDGDirectory(Environment* env, const char* env_name, if (env->GetVar(env_name, &env_value) && !env_value.empty()) path = FilePath(env_value); else - path = file_util::GetHomeDir().Append(fallback_dir); + path = GetHomeDir().Append(fallback_dir); return path.StripTrailingSeparators(); } @@ -42,7 +42,7 @@ FilePath GetXDGUserDirectory(const char* dir_name, const char* fallback_dir) { path = FilePath(xdg_dir); free(xdg_dir); } else { - path = file_util::GetHomeDir().Append(fallback_dir); + path = GetHomeDir().Append(fallback_dir); } return path.StripTrailingSeparators(); } |