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

as-pool: Fix g-i for get_components_*() while GPtrArray owns its elements #214

Merged
merged 1 commit into from Jan 16, 2019
Merged
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
@@ -1198,7 +1198,7 @@ as_pool_get_components (AsPool *pool)
* This function may contain multiple results if we have
* data describing this component from multiple scopes/origin types.
*
* Returns: (transfer container) (element-type AsComponent): An #AsComponent
* Returns: (transfer full) (element-type AsComponent): An #AsComponent
*/
GPtrArray*
as_pool_get_components_by_id (AsPool *pool, const gchar *cid)
@@ -1231,7 +1231,7 @@ as_pool_get_components_by_id (AsPool *pool, const gchar *cid)
*
* Find components in the AppStream data pool which provide a certain item.
*
* Returns: (transfer container) (element-type AsComponent): an array of #AsComponent objects which have been found.
* Returns: (transfer full) (element-type AsComponent): an array of #AsComponent objects which have been found.
*/
GPtrArray*
as_pool_get_components_by_provided_item (AsPool *pool,
@@ -1277,7 +1277,7 @@ as_pool_get_components_by_provided_item (AsPool *pool,
*
* Return a list of all components in the pool which are of a certain kind.
*
* Returns: (transfer container) (element-type AsComponent): an array of #AsComponent objects which have been found.
* Returns: (transfer full) (element-type AsComponent): an array of #AsComponent objects which have been found.
*/
GPtrArray*
as_pool_get_components_by_kind (AsPool *pool, AsComponentKind kind)
@@ -1309,7 +1309,7 @@ as_pool_get_components_by_kind (AsPool *pool, AsComponentKind kind)
*
* Return a list of components which are in one of the categories.
*
* Returns: (transfer container) (element-type AsComponent): an array of #AsComponent objects which have been found.
* Returns: (transfer full) (element-type AsComponent): an array of #AsComponent objects which have been found.
*/
GPtrArray*
as_pool_get_components_by_categories (AsPool *pool, gchar **categories)
@@ -1351,7 +1351,7 @@ as_pool_get_components_by_categories (AsPool *pool, gchar **categories)
* Find components in the AppStream data pool which provide a specific launchable.
* See #AsLaunchable for details on launchables, or refer to the AppStream specification.
*
* Returns: (transfer container) (element-type AsComponent): an array of #AsComponent objects which have been found.
* Returns: (transfer full) (element-type AsComponent): an array of #AsComponent objects which have been found.
*
* Since: 0.11.4
*/