summaryrefslogtreecommitdiff
path: root/src/ostree/ot-admin-builtin-set-origin.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-set-origin.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-set-origin.c')
-rw-r--r--src/ostree/ot-admin-builtin-set-origin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ostree/ot-admin-builtin-set-origin.c b/src/ostree/ot-admin-builtin-set-origin.c
index a3f071c7..24a919fd 100644
--- a/src/ostree/ot-admin-builtin-set-origin.c
+++ b/src/ostree/ot-admin-builtin-set-origin.c
@@ -49,8 +49,8 @@ ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, G
const char *remotename = NULL;
const char *url = NULL;
const char *branch = NULL;
- gs_unref_object OstreeRepo *repo = NULL;
- gs_unref_object OstreeSysroot *sysroot = NULL;
+ glnx_unref_object OstreeRepo *repo = NULL;
+ glnx_unref_object OstreeSysroot *sysroot = NULL;
OstreeDeployment *target_deployment = NULL;
context = g_option_context_new ("REMOTENAME URL [BRANCH]");