summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-static-delta.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-builtin-static-delta.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-builtin-static-delta.c')
-rw-r--r--src/ostree/ot-builtin-static-delta.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ostree/ot-builtin-static-delta.c b/src/ostree/ot-builtin-static-delta.c
index fba3d303..ad884e91 100644
--- a/src/ostree/ot-builtin-static-delta.c
+++ b/src/ostree/ot-builtin-static-delta.c
@@ -100,7 +100,7 @@ ot_static_delta_builtin_list (int argc, char **argv, GCancellable *cancellable,
gs_unref_ptrarray GPtrArray *delta_names = NULL;
guint i;
GOptionContext *context;
- gs_unref_object OstreeRepo *repo = NULL;
+ glnx_unref_object OstreeRepo *repo = NULL;
context = g_option_context_new ("LIST - list static delta files");
@@ -134,7 +134,7 @@ ot_static_delta_builtin_generate (int argc, char **argv, GCancellable *cancellab
{
gboolean ret = FALSE;
GOptionContext *context;
- gs_unref_object OstreeRepo *repo = NULL;
+ glnx_unref_object OstreeRepo *repo = NULL;
context = g_option_context_new ("Generate static delta files");
if (!ostree_option_context_parse (context, generate_options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error))
@@ -245,7 +245,7 @@ ot_static_delta_builtin_apply_offline (int argc, char **argv, GCancellable *canc
const char *patharg;
g_autoptr(GFile) path = NULL;
GOptionContext *context;
- gs_unref_object OstreeRepo *repo = NULL;
+ glnx_unref_object OstreeRepo *repo = NULL;
context = g_option_context_new ("DELTA - Apply static delta file");
if (!ostree_option_context_parse (context, apply_offline_options, &argc, &argv, OSTREE_BUILTIN_FLAG_NONE, &repo, cancellable, error))
@@ -286,7 +286,7 @@ ostree_builtin_static_delta (int argc, char **argv, GCancellable *cancellable, G
gboolean ret = FALSE;
OstreeCommand *command = NULL;
const char *cmdname = NULL;
- gs_unref_object OstreeRepo *repo = NULL;
+ glnx_unref_object OstreeRepo *repo = NULL;
int i;
gboolean want_help = FALSE;