summaryrefslogtreecommitdiff
path: root/gtk/gtktextbuffer.c
diff options
context:
space:
mode:
authorTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-17 17:57:58 +0200
committerTomeu Vizoso <tomeu.vizoso@collabora.co.uk>2010-08-17 17:57:58 +0200
commit24d8c776d4ecf4209d77474b421b912293628814 (patch)
tree8c75a2c163c29df35cce7dd2f323fe798c0c7215 /gtk/gtktextbuffer.c
parent813da6a39a90e6a4790970a8c0d61bc0a32056d9 (diff)
downloadgtk+-24d8c776d4ecf4209d77474b421b912293628814.tar.gz
The 'len' argument of gtk_text_buffer_insert and gtk_text_buffer_insert_at_cursor isn't really the length of the 'text' argument
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 118e3ad682..9f364a94bd 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: (array length=len) (element-type uint8): text in UTF-8 format
+ * @text: 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: (array length=len) (element-type uint8): text in UTF-8 format
+ * @text: text in UTF-8 format
* @len: length of text, in bytes
*
* Simply calls gtk_text_buffer_insert(), using the current