summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtin-deploy.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2015-05-05 10:33:53 -0400
committerMatthew Barnes <mbarnes@redhat.com>2015-05-06 22:07:04 -0400
commit6a5f7b1288d3d6634922bf3cb2370474cd5a22f7 (patch)
treedb0ae8beee55039447018911381c664926b83aac /src/ostree/ot-admin-builtin-deploy.c
parent4ee1acd98109e98fd0a659f43d3187597d034f05 (diff)
downloadostree-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-admin-builtin-deploy.c')
-rw-r--r--src/ostree/ot-admin-builtin-deploy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ostree/ot-admin-builtin-deploy.c b/src/ostree/ot-admin-builtin-deploy.c
index b2b24f03..6fc0deb2 100644
--- a/src/ostree/ot-admin-builtin-deploy.c
+++ b/src/ostree/ot-admin-builtin-deploy.c
@@ -55,12 +55,12 @@ ot_admin_builtin_deploy (int argc, char **argv, GCancellable *cancellable, GErro
gboolean ret = FALSE;
const char *refspec;
GOptionContext *context;
- gs_unref_object OstreeSysroot *sysroot = NULL;
+ glnx_unref_object OstreeSysroot *sysroot = NULL;
GKeyFile *origin = NULL;
- gs_unref_object OstreeRepo *repo = NULL;
+ glnx_unref_object OstreeRepo *repo = NULL;
gs_unref_ptrarray GPtrArray *new_deployments = NULL;
- gs_unref_object OstreeDeployment *new_deployment = NULL;
- gs_unref_object OstreeDeployment *merge_deployment = NULL;
+ glnx_unref_object OstreeDeployment *new_deployment = NULL;
+ glnx_unref_object OstreeDeployment *merge_deployment = NULL;
g_autofree char *revision = NULL;
__attribute__((cleanup(_ostree_kernel_args_cleanup))) OstreeKernelArgs *kargs = NULL;