ginputstream: Add missing (transfer full) annotation to read_bytes()

This commit is contained in:
Philip Withnall 2017-04-13 10:24:32 +01:00
parent 8446ee8c20
commit c192595268

View File

@ -306,7 +306,7 @@ g_input_stream_read_all (GInputStream *stream,
*
* On error %NULL is returned and @error is set accordingly.
*
* Returns: a new #GBytes, or %NULL on error
* Returns: (transfer full): a new #GBytes, or %NULL on error
*
* Since: 2.34
**/
@ -939,7 +939,7 @@ g_input_stream_read_bytes_async (GInputStream *stream,
*
* Finishes an asynchronous stream read-into-#GBytes operation.
*
* Returns: the newly-allocated #GBytes, or %NULL on error
* Returns: (transfer full): the newly-allocated #GBytes, or %NULL on error
*
* Since: 2.34
**/