lib/remote: Box OstreeRemote if experimental-api

To avoid an introspection warning.  Otherwise, don't box it.

Closes: #858
Approved by: pwithnall
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-05-16 08:28:47 +00:00
1 parent 05d0ee5cbe
commit a5eef45deb
2 files changed
+13

No files matched your search

+7
View File
@@ -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