diff options
author | Colin Walters <walters@verbum.org> | 2017-05-15 09:10:54 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2017-05-16 08:28:47 +0000 |
commit | a5eef45debcf8d2550deef8c5b9f33956d786fe9 (patch) | |
tree | 21d3cf988a43e5dcd9f79b7173877577380a2911 /src/libostree/ostree-remote.h | |
parent | 05d0ee5cbecd1287b87d38e969862a5d8b1f2e58 (diff) | |
download | ostree-a5eef45debcf8d2550deef8c5b9f33956d786fe9.tar.gz |
lib/remote: Box OstreeRemote if experimental-api
To avoid an introspection warning. Otherwise, don't box it.
Closes: #858
Approved by: pwithnall
Diffstat (limited to 'src/libostree/ostree-remote.h')
-rw-r--r-- | src/libostree/ostree-remote.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libostree/ostree-remote.h b/src/libostree/ostree-remote.h index bf62fd87..8e96213c 100644 --- a/src/libostree/ostree-remote.h +++ b/src/libostree/ostree-remote.h @@ -48,9 +48,16 @@ G_BEGIN_DECLS typedef struct OstreeRemote OstreeRemote; #endif +#ifdef OSTREE_ENABLE_EXPERIMENTAL_API +_OSTREE_PUBLIC +GType ostree_remote_get_type (void) G_GNUC_CONST; +#else +#ifndef __GI_SCANNER__ _OSTREE_PUBLIC OstreeRemote *ostree_remote_ref (OstreeRemote *remote); _OSTREE_PUBLIC void ostree_remote_unref (OstreeRemote *remote); +#endif /* GI_SCANNER */ +#endif G_END_DECLS |