/**
* pango_attr_list_filter:
* @list: a #PangoAttrList
- * @func: (scope call) (closure data): callback function; returns %TRUE if an attribute
- * should be filtered out.
+ * @func: (scope call) (closure data): callback function; returns %TRUE
+ * if an attribute should be filtered out.
* @data: (closure): Data to be passed to @func
*
* Given a #PangoAttrList and callback function, removes any elements
* of @list for which @func returns %TRUE and inserts them into
* a new list.
*
- * Return value: the new #PangoAttrList or %NULL if
+ * Return value: (transfer full): the new #PangoAttrList or %NULL if
* no attributes of the given types were found.
*
* Since: 1.2