TextBuffer: Add missing transfer full annotations

This commit is contained in:
Daniel Boles 2017-03-26 15:50:57 +01:00
parent adf4fa5d3f
commit 7be01e84c4

View File

@ -1848,7 +1848,7 @@ gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer,
* and character indexes into the buffer. Contrast with
* gtk_text_buffer_get_slice().
*
* Returns: an allocated UTF-8 string
* Returns: (transfer full): an allocated UTF-8 string
**/
gchar*
gtk_text_buffer_get_text (GtkTextBuffer *buffer,
@ -1886,7 +1886,7 @@ gtk_text_buffer_get_text (GtkTextBuffer *buffer,
* text as well, so it is not a reliable indicator that a pixbuf or
* widget is in the buffer.
*
* Returns: an allocated UTF-8 string
* Returns: (transfer full): an allocated UTF-8 string
**/
gchar*
gtk_text_buffer_get_slice (GtkTextBuffer *buffer,