diff options
author | Colin Walters <walters@verbum.org> | 2016-03-17 11:22:25 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2016-03-18 12:08:19 -0400 |
commit | c58ad36840da4a23dac49434b19ed4f77c22946f (patch) | |
tree | a859824ba80d44b07b2f3535a434083a3f2d9b67 /src/ostree/ot-main.c | |
parent | b67f5364ac5b74e96171ba6683d88c2e5752d8e8 (diff) | |
download | ostree-c58ad36840da4a23dac49434b19ed4f77c22946f.tar.gz |
libglnx porting: gs_transfer_out_value -> g_steal_pointer
It's a bit more verbose but...eh.
Diffstat (limited to 'src/ostree/ot-main.c')
-rw-r--r-- | src/ostree/ot-main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ostree/ot-main.c b/src/ostree/ot-main.c index 5b54af4c..51282f92 100644 --- a/src/ostree/ot-main.c +++ b/src/ostree/ot-main.c @@ -294,7 +294,8 @@ ostree_option_context_parse (GOptionContext *context, } } - gs_transfer_out_value (out_repo, &repo); + if (out_repo) + *out_repo = g_steal_pointer (&repo); success = TRUE; @@ -375,7 +376,8 @@ ostree_admin_option_context_parse (GOptionContext *context, goto out; } - gs_transfer_out_value (out_sysroot, &sysroot); + if (out_sysroot) + *out_sysroot = g_steal_pointer (&sysroot); success = TRUE; |