summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-11-18 08:02:19 -0500
committerColin Walters <walters@verbum.org>2011-11-18 08:02:19 -0500
commit6591e586edb9d770f978f40b71c3f75a9115e629 (patch)
treec934b01e6d2fc8ab9bb5c2cd59214315a64c9dbc
parent12f2d8917490b2af2cd0205b9ca5227379f39b6f (diff)
downloadostree-6591e586edb9d770f978f40b71c3f75a9115e629.tar.gz
core: Remove last user of g_file_new()
-rw-r--r--src/libotutil/ot-gio-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libotutil/ot-gio-utils.c b/src/libotutil/ot-gio-utils.c
index adac61f6..a140d718 100644
--- a/src/libotutil/ot-gio-utils.c
+++ b/src/libotutil/ot-gio-utils.c
@@ -36,7 +36,7 @@ ot_util_ensure_directory (const char *path, gboolean with_parents, GError **erro
GError *temp_error = NULL;
gboolean ret = FALSE;
- dir = g_file_new_for_path (path);
+ dir = ot_util_new_file_for_path (path);
if (with_parents)
ret = g_file_make_directory_with_parents (dir, NULL, &temp_error);
else