[ostree: 3/5] checkout: Use ot_util_new_file_for_path



commit 80fcb3b8182f3e7cc73f2f9a2d30a0b92811613d
Author: Colin Walters <walters verbum org>
Date:   Mon Oct 31 20:22:34 2011 -0400

    checkout: Use ot_util_new_file_for_path

 src/libostree/ostree-checkout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libostree/ostree-checkout.c b/src/libostree/ostree-checkout.c
index e4f09fb..0569f28 100644
--- a/src/libostree/ostree-checkout.c
+++ b/src/libostree/ostree-checkout.c
@@ -204,7 +204,7 @@ run_trigger (OstreeCheckout *self,
     {
       temp_path = g_build_filename (priv->path, basename, NULL);
       rel_temp_path = g_strconcat ("./", basename, NULL);
-      temp_copy = g_file_new_for_path (temp_path);
+      temp_copy = ot_util_new_file_for_path (temp_path);
 
       if (!g_file_copy (trigger, temp_copy, 0, NULL, NULL, NULL, error))
         goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]