core: Drop ot_gfile_new_for_path
Not necessary anymore since we switched to GIO_USE_VFS=local in the binaries.
This commit is contained in:
1 parent
d5a1f1deda
commit
311493338e
12 files changed
+25
-34
No files matched your search
@@ -137,7 +137,7 @@ ostree_repo_set_property(GObject *object,
|
||||
{
|
||||
case PROP_PATH:
|
||||
/* Canonicalize */
|
||||
self->repodir = ot_gfile_new_for_path (ot_gfile_get_path_cached (g_value_get_object (value)));
|
||||
self->repodir = g_file_new_for_path (ot_gfile_get_path_cached (g_value_get_object (value)));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
@@ -724,7 +724,7 @@ ostree_repo_check (OstreeRepo *self, GError **error)
|
||||
|
||||
if (parent_repo_path && parent_repo_path[0])
|
||||
{
|
||||
ot_lobj GFile *parent_repo_f = ot_gfile_new_for_path (parent_repo_path);
|
||||
ot_lobj GFile *parent_repo_f = g_file_new_for_path (parent_repo_path);
|
||||
|
||||
self->parent_repo = ostree_repo_new (parent_repo_f);
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ ostree_run_triggers_in_root (GFile *root,
|
||||
if (root)
|
||||
triggerdir = g_file_resolve_relative_path (root, rel_triggerdir);
|
||||
else
|
||||
triggerdir = ot_gfile_new_for_path (rel_triggerdir);
|
||||
triggerdir = g_file_new_for_path (rel_triggerdir);
|
||||
|
||||
if (g_file_query_exists (triggerdir, cancellable))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user