lib/pull: Skip ostree_repo_resolve_keyring_for_collection for bindings
authorDan Nicholson <nicholson@endlessm.com>
Fri, 3 Nov 2017 16:10:23 +0000 (16:10 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 3 Nov 2017 22:05:47 +0000 (22:05 +0000)
commit519b30b7e1979fea827ea4fe9b0e9ac4db99d631
tree35a89064401da0d389449fca2a9f6094af23b523
parent03bbe4553007a6d0b92efc35e2fda3d6c90bc6ab
lib/pull: Skip ostree_repo_resolve_keyring_for_collection for bindings

Since ostree_remote_get_type is not made available to g-ir-scanner, it
treats OstreeRemote as a bare struct. That's not kosher for bindings and
it issues the following warning:

  src/libostree/ostree-repo-pull.c:5560: Warning: OSTree:
  ostree_repo_resolve_keyring_for_collection: return value: Invalid
  non-constant return of bare structure or union; register as boxed type
  or (skip)

For now, just skip this API for bindings.

Closes: #1322
Approved by: pwithnall
src/libostree/ostree-repo-pull.c