summaryrefslogtreecommitdiff
path: root/src/libostree/ostree-gpg-verifier.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2016-06-14 21:51:10 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2016-06-21 18:24:17 +0000
commit90b9a06277c2d91ee331aae225031e5d6a1d4553 (patch)
tree87f485099118ee237b76c0aeed40f94819bd8ce8 /src/libostree/ostree-gpg-verifier.c
parent9e2763106be01044caa541314d3fe185cc73361d (diff)
downloadostree-90b9a06277c2d91ee331aae225031e5d6a1d4553.tar.gz
lib: Use g_file_enumerator_iterate() if available, with fallback
Import `gs_file_enumerator_iterate()` for the next six months or so...after RHEL 7.3 is released I'm strongly considering hard requiring 2.46 or so. Likely at some point we should figure out how to share more "glib backport" code with NetworkManager at least. Closes: #341 Approved by: jlebon
Diffstat (limited to 'src/libostree/ostree-gpg-verifier.c')
-rw-r--r--src/libostree/ostree-gpg-verifier.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libostree/ostree-gpg-verifier.c b/src/libostree/ostree-gpg-verifier.c
index b9a03a11..0ec0b515 100644
--- a/src/libostree/ostree-gpg-verifier.c
+++ b/src/libostree/ostree-gpg-verifier.c
@@ -253,8 +253,8 @@ _ostree_gpg_verifier_add_keyring_dir (OstreeGpgVerifier *self,
GFile *path;
const char *name;
- if (!gs_file_enumerator_iterate (enumerator, &file_info, &path,
- cancellable, error))
+ if (!g_file_enumerator_iterate (enumerator, &file_info, &path,
+ cancellable, error))
goto out;
if (file_info == NULL)
break;