diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2015-05-05 10:33:53 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2015-05-06 22:07:04 -0400 |
commit | 6a5f7b1288d3d6634922bf3cb2370474cd5a22f7 (patch) | |
tree | db0ae8beee55039447018911381c664926b83aac /src/ostree/ot-builtin-pull-local.c | |
parent | 4ee1acd98109e98fd0a659f43d3187597d034f05 (diff) | |
download | ostree-6a5f7b1288d3d6634922bf3cb2370474cd5a22f7.tar.gz |
Use glnx_unref_object instead of gs_unref_object
For non-GIO object types, at least until autocleanup support for GObject
based types becomes more widespread.
Diffstat (limited to 'src/ostree/ot-builtin-pull-local.c')
-rw-r--r-- | src/ostree/ot-builtin-pull-local.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ostree/ot-builtin-pull-local.c b/src/ostree/ot-builtin-pull-local.c index 40179f25..993c53ec 100644 --- a/src/ostree/ot-builtin-pull-local.c +++ b/src/ostree/ot-builtin-pull-local.c @@ -44,12 +44,12 @@ ostree_builtin_pull_local (int argc, char **argv, GCancellable *cancellable, GEr { gboolean ret = FALSE; GOptionContext *context; - gs_unref_object OstreeRepo *repo = NULL; + glnx_unref_object OstreeRepo *repo = NULL; int i; const char *src_repo_arg; GSConsole *console = NULL; g_autofree char *src_repo_uri = NULL; - gs_unref_object OstreeAsyncProgress *progress = NULL; + glnx_unref_object OstreeAsyncProgress *progress = NULL; gs_unref_ptrarray GPtrArray *refs_to_fetch = NULL; gs_unref_hashtable GHashTable *source_objects = NULL; @@ -87,7 +87,7 @@ ostree_builtin_pull_local (int argc, char **argv, GCancellable *cancellable, GEr if (argc == 2) { g_autoptr(GFile) src_repo_path = g_file_new_for_path (src_repo_arg); - gs_unref_object OstreeRepo *src_repo = ostree_repo_new (src_repo_path); + glnx_unref_object OstreeRepo *src_repo = ostree_repo_new (src_repo_path); gs_unref_hashtable GHashTable *refs_to_clone = NULL; refs_to_fetch = g_ptr_array_new_with_free_func (g_free); |