Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix element ownership of returned PtrArrays #290

Merged
merged 2 commits into from Nov 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -1,3 +1,8 @@
// Metadata for AppStream GIR

AppStream name="AppStream"

// element-type of PtrArray must reflect the actual ownership
get_default_categories type="GLib.GenericArray<Category>"
Pool.get_components* type="GLib.GenericArray<Component>"
Pool.search type="GLib.GenericArray<Component>"
@@ -196,7 +196,7 @@ as_agreement_set_version_id (AsAgreement *agreement, const gchar *version_id)
*
* Gets all the sections in the agreement.
*
* Returns: (transfer container) (element-type AsAgreementSection): array
* Returns: (transfer none) (element-type AsAgreementSection): array
*
* Since: 0.12.1
**/