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:
1 parent
05d0ee5cbe
commit
a5eef45deb
2 files changed
+13
No files matched your search
@@ -142,3 +142,9 @@ ostree_remote_unref (OstreeRemote *remote)
|
||||
g_slice_free (OstreeRemote, remote);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef OSTREE_ENABLE_EXPERIMENTAL_API
|
||||
G_DEFINE_BOXED_TYPE(OstreeRemote, ostree_remote,
|
||||
ostree_remote_ref,
|
||||
ostree_remote_unref);
|
||||
#endif
|
||||
Reference in new issue
Block a user