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

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