TextBuffer: Add missing transfer full annotations

This commit is contained in:
Daniel Boles
2017-03-26 16:26:41 +01:00
parent c6212761bd
commit 062983c057

View File

@@ -1803,7 +1803,7 @@ gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer,
* and character indexes into the buffer. Contrast with
* gtk_text_buffer_get_slice().
*
* Return value: an allocated UTF-8 string
* Return value: (transfer full): an allocated UTF-8 string
**/
gchar*
gtk_text_buffer_get_text (GtkTextBuffer *buffer,
@@ -1841,7 +1841,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.
*
* Return value: an allocated UTF-8 string
* Return value: (transfer full): an allocated UTF-8 string
**/
gchar*
gtk_text_buffer_get_slice (GtkTextBuffer *buffer,