diff --git a/ChangeLog b/ChangeLog index 4def162faa..b289c42da2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-11-05 Christian Dywan + + 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 * gdk/quartz/gdkwindow-quartz.c: 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