summaryrefslogtreecommitdiff
path: root/src/ostree/ot-builtin-init.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-07-07 12:27:44 -0400
committerColin Walters <walters@verbum.org>2013-07-07 12:27:44 -0400
commit4b170d656c1b676929f5744448bafc250f3ad5dc (patch)
treeec19498a18bd7e817d15f940bf434cb17f711761 /src/ostree/ot-builtin-init.c
parentbb6eedfb258d3001f61c42c7e920c03dae2bdc1a (diff)
downloadostree-4b170d656c1b676929f5744448bafc250f3ad5dc.tar.gz
Switch to libgsystem local allocation macros
And drop our compatibility wrapper.
Diffstat (limited to 'src/ostree/ot-builtin-init.c')
-rw-r--r--src/ostree/ot-builtin-init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ostree/ot-builtin-init.c b/src/ostree/ot-builtin-init.c
index 8dd28217..08cf222d 100644
--- a/src/ostree/ot-builtin-init.c
+++ b/src/ostree/ot-builtin-init.c
@@ -47,9 +47,9 @@ ostree_builtin_init (int argc, char **argv, GFile *repo_path, GError **error)
gboolean ret = FALSE;
__attribute__ ((unused)) GCancellable *cancellable = NULL;
const char *mode_str = "bare";
- ot_lobj GFile *child = NULL;
- ot_lobj GFile *grandchild = NULL;
- ot_lobj OstreeRepo *repo = NULL;
+ gs_unref_object GFile *child = NULL;
+ gs_unref_object GFile *grandchild = NULL;
+ gs_unref_object OstreeRepo *repo = NULL;
GString *config_data = NULL;
context = g_option_context_new ("- Initialize a new empty repository");