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/libostree/ostree-sysroot-cleanup.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/libostree/ostree-sysroot-cleanup.c')
-rw-r--r-- | src/libostree/ostree-sysroot-cleanup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-sysroot-cleanup.c b/src/libostree/ostree-sysroot-cleanup.c index 46ad0e93..7910a1a1 100644 --- a/src/libostree/ostree-sysroot-cleanup.c +++ b/src/libostree/ostree-sysroot-cleanup.c @@ -62,7 +62,7 @@ _ostree_sysroot_list_deployment_dirs_for_os (GFile *osdir, const char *name; GFileInfo *file_info = NULL; GFile *child = NULL; - gs_unref_object OstreeDeployment *deployment = NULL; + glnx_unref_object OstreeDeployment *deployment = NULL; g_autofree char *csum = NULL; gint deployserial; @@ -503,7 +503,7 @@ ostree_sysroot_cleanup (OstreeSysroot *self, GError **error) { gboolean ret = FALSE; - gs_unref_object OstreeRepo *repo = NULL; + glnx_unref_object OstreeRepo *repo = NULL; g_return_val_if_fail (self->loaded, FALSE); |