summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.c
diff options
context:
space:
mode:
authorDaniel Boles <dboles@src.gnome.org>2017-03-26 15:50:57 +0100
committerDaniel Boles <dboles@src.gnome.org>2017-03-26 16:14:10 +0100
commit7be01e84c42c0b2d714b03d7095aa35dd5291fe3 (patch)
treef347fc3ad9c4a26d5fa84644a4c6915c21e65e70 /gtk/gtktextbuffer.c
parentadf4fa5d3f407d3b9aef317f9e3da01c77b1c446 (diff)
downloadgtk+-7be01e84c42c0b2d714b03d7095aa35dd5291fe3.tar.gz
TextBuffer: Add missing transfer full annotations
Diffstat (limited to 'gtk/gtktextbuffer.c')
-rw-r--r--gtk/gtktextbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c
index 644e2cfbb2..81b95f5d83 100644
--- a/gtk/gtktextbuffer.c
+++ b/gtk/gtktextbuffer.c
@@ -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,