From cffda84e935ae67d455a24d795e62fa45fa1b980 Mon Sep 17 00:00:00 2001 From: Paolo Borelli Date: Sat, 31 Jul 2010 14:01:41 +0200 Subject: [PATCH] Annotate GtkTextBuffer insert methods --- gtk/gtktextbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index c184fd1631..118e3ad682 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -921,7 +921,7 @@ gtk_text_buffer_emit_insert (GtkTextBuffer *buffer, * gtk_text_buffer_insert: * @buffer: a #GtkTextBuffer * @iter: a position in the buffer - * @text: UTF-8 format text to insert + * @text: (array length=len) (element-type uint8): text in UTF-8 format * @len: length of text in bytes, or -1 * * Inserts @len bytes of @text at position @iter. If @len is -1, @@ -949,7 +949,7 @@ gtk_text_buffer_insert (GtkTextBuffer *buffer, /** * gtk_text_buffer_insert_at_cursor: * @buffer: a #GtkTextBuffer - * @text: some text in UTF-8 format + * @text: (array length=len) (element-type uint8): text in UTF-8 format * @len: length of text, in bytes * * Simply calls gtk_text_buffer_insert(), using the current