Bug 559404 – gtk_editable_insert_text counts length in bytes

2008-11-05  Christian Dywan  <christian@imendio.com>

	Bug 559404 – gtk_editable_insert_text counts length in bytes

	* gtk/gtkeditable.c:
	Document new_text_length as the number of bytes

svn path=/trunk/; revision=21760
This commit is contained in:
Christian Dywan 2008-11-05 14:27:33 +00:00 committed by Christian Dywan
parent a641e8fb92
commit 89e28e068c
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-11-05 Christian Dywan <christian@imendio.com>
Bug 559404 gtk_editable_insert_text counts length in bytes
* gtk/gtkeditable.c:
Document new_text_length as the number of bytes
2008-11-05 Richard Hult <richard@imendio.com>
* gdk/quartz/gdkwindow-quartz.c:

View File

@ -99,10 +99,10 @@ gtk_editable_base_init (gpointer g_class)
* gtk_editable_insert_text:
* @editable: a #GtkEditable
* @new_text: the text to append
* @new_text_length: the text to append
* @new_text_length: the length of the text in bytes, or -1
* @position: position text will be inserted at
*
* Appends @new_text_length characters of @new_text to the contents of the widget,
* Appends @new_text_length bytes of @new_text to the contents of the widget,
* at position @position. Note that this position is in characters, not in bytes.
**/
void