diff options
author | Christian Dywan <christian@imendio.com> | 2008-11-05 14:27:33 +0000 |
---|---|---|
committer | Christian Dywan <cdywan@src.gnome.org> | 2008-11-05 14:27:33 +0000 |
commit | 89e28e068ccd2f54516dd68b5ed58198480a246c (patch) | |
tree | c5798303bcaa5f6ccb6728a46175cb3e4aa5d2b8 /gtk/gtkeditable.c | |
parent | a641e8fb920ba5334bd44e4cfccfdc441008eb64 (diff) | |
download | gtk+-89e28e068ccd2f54516dd68b5ed58198480a246c.tar.gz |
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
Diffstat (limited to 'gtk/gtkeditable.c')
-rw-r--r-- | gtk/gtkeditable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c index 16e839901a..40f4986f11 100644 --- a/gtk/gtkeditable.c +++ b/gtk/gtkeditable.c @@ -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 |