glnx porting: Drop last uses of gs_file_get_basename_cached()
I apparently missed a few uses in the previous porting. Closes: #319 Approved by: jlebon
This commit is contained in:
1 parent
b5da2f524c
commit
a79c47415a
2 files changed
+4
-4
No files matched your search
@@ -358,7 +358,7 @@ ot_gfile_replace_contents_fsync (GFile *path,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
int parent_dfd;
|
||||
const char *target_basename = gs_file_get_basename_cached (path);
|
||||
const char *target_basename = glnx_basename (gs_file_get_path_cached (path));
|
||||
g_autoptr(GFile) parent = NULL;
|
||||
|
||||
parent = g_file_get_parent (path);
|
||||
@@ -447,7 +447,7 @@ ot_util_ensure_directory_and_fsync (GFile *dir,
|
||||
{
|
||||
gboolean ret = FALSE;
|
||||
int parentfd = -1;
|
||||
const char *basename = gs_file_get_basename_cached (dir);
|
||||
const char *basename = glnx_basename (gs_file_get_path_cached (dir));
|
||||
g_autoptr(GFile) parent = g_file_get_parent (dir);
|
||||
|
||||
again:
|
||||
|
||||
Reference in new issue
Block a user