lib: Include OstreeRemote and OstreeCollectionRef in GIR
authorDan Nicholson <nicholson@endlessm.com>
Thu, 9 Nov 2017 13:47:15 +0000 (05:47 -0800)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 10 Nov 2017 10:03:44 +0000 (10:03 +0000)
commited242cdd3b4ca22c531e9fad6c9144ba50b925b1
tree32a4b20ead447f02bc96c342542e0d64e8a150b7
parenta256b2d1a3bcf5e04ea99ed508fe7ddc797de32c
lib: Include OstreeRemote and OstreeCollectionRef in GIR

Now that g-ir-scanner is being told about ENABLE_EXPERIMENTAL_API, it
can include these types correctly. Drop the __GI_SCANNER__ guards in the
header files so that all the declarations are found.

After this, you can actually construct the types normally:

>>> OSTree.CollectionRef.new('com.example.Foo', 'bar')
<OSTree.CollectionRef object at 0x7f2bba4c7528 (OstreeCollectionRef at 0x55c033ff2f30)>

Closes: #1337
Approved by: pwithnall
src/libostree/ostree-ref.h
src/libostree/ostree-remote.h