[ostree] Use g_autoptr(GKeyFile) instead of gs_unref_keyfile
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ostree] Use g_autoptr(GKeyFile) instead of gs_unref_keyfile
- Date: Thu, 7 May 2015 02:17:48 +0000 (UTC)
commit c69347b622c605a8e2565187930a0071239099d5
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue May 5 11:47:07 2015 -0400
Use g_autoptr(GKeyFile) instead of gs_unref_keyfile
src/ostree/ot-admin-builtin-set-origin.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ostree/ot-admin-builtin-set-origin.c b/src/ostree/ot-admin-builtin-set-origin.c
index 24a919f..9e140bf 100644
--- a/src/ostree/ot-admin-builtin-set-origin.c
+++ b/src/ostree/ot-admin-builtin-set-origin.c
@@ -129,7 +129,7 @@ ot_admin_builtin_set_origin (int argc, char **argv, GCancellable *cancellable, G
goto out;
{ g_autofree char *new_refspec = g_strconcat (remotename, ":", branch ? branch : origin_ref, NULL);
- gs_unref_keyfile GKeyFile *new_origin = NULL;
+ g_autoptr(GKeyFile) new_origin = NULL;
g_autoptr(GFile) origin_path = NULL;
new_origin = ostree_sysroot_origin_new_from_refspec (sysroot, new_refspec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]