diff options
author | Mike Gorse <mgorse@alum.wpi.edu> | 2019-08-28 11:28:17 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@alum.wpi.edu> | 2019-08-28 11:28:17 -0500 |
commit | 6c474b6a537120622747f7b7821c5d5709615049 (patch) | |
tree | 40caf9379cdbe4803ca326e5208b3f30f0c7bfb6 | |
parent | 1256988c433cf8b9e0780c13d66374cb057f7329 (diff) | |
download | at-spi2-core-6c474b6a537120622747f7b7821c5d5709615049.tar.gz |
Clarify atspi_editable_text_insert_text documentation
Clarify that the length parameter expects a count of bytes. This matches
the corresponding atk documentation.
Fixes https://gitlab.gnome.org/GNOME/at-spi2-core/issues/9
-rw-r--r-- | atspi/atspi-editabletext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/atspi/atspi-editabletext.c b/atspi/atspi-editabletext.c index e85aa4de..350617eb 100644 --- a/atspi/atspi-editabletext.c +++ b/atspi/atspi-editabletext.c @@ -86,8 +86,8 @@ atspi_editable_text_set_text_contents (AtspiEditableText *obj, * @position: a #gint indicating the character offset at which to insert * the new text. * @text: a string representing the text to insert, in UTF-8 encoding. - * @length: the number of characters of text to insert. If the character - * count of text is less than or equal to length, the entire contents + * @length: the number of characters of text to insert, in bytes. If the + * byte count of text is less than or equal to length, the entire contents * of text will be inserted. * * Inserts text into an #AtspiEditableText object. |