From 7be01e84c42c0b2d714b03d7095aa35dd5291fe3 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Sun, 26 Mar 2017 15:50:57 +0100 Subject: [PATCH] TextBuffer: Add missing transfer full annotations --- gtk/gtktextbuffer.c | 4 ++-- 1 file 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,