aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-local-folder.c')
-rw-r--r--shell/e-local-folder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/e-local-folder.c b/shell/e-local-folder.c
index 924c252453..1df96734f9 100644
--- a/shell/e-local-folder.c
+++ b/shell/e-local-folder.c
@@ -275,7 +275,7 @@ construct_loading_metadata (ELocalFolder *local_folder,
folder = E_FOLDER (local_folder);
- metadata_path = g_concat_dir_and_file (path, E_LOCAL_FOLDER_METADATA_FILE_NAME);
+ metadata_path = g_build_filename (path, E_LOCAL_FOLDER_METADATA_FILE_NAME, NULL);
doc = xmlParseFile (metadata_path);
if (doc == NULL) {
@@ -338,7 +338,7 @@ save_metadata (ELocalFolder *local_folder)
(xmlChar *) e_folder_get_description (folder));
physical_directory = e_folder_get_physical_uri (folder) + URI_PREFIX_LEN - 1;
- physical_path = g_concat_dir_and_file (physical_directory, E_LOCAL_FOLDER_METADATA_FILE_NAME);
+ physical_path = g_build_filename (physical_directory, E_LOCAL_FOLDER_METADATA_FILE_NAME, NULL);
if (xmlSaveFile (physical_path, doc) < 0) {
unlink (physical_path);