From 1b3d49e57f9d6a77723f857165234cc7dea427fc Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Sun, 3 Mar 2019 13:27:40 -0600 Subject: Update libatspi documentation to indicate that extents are only meaningful when an object has both STATE_VISIBLE and STATE_SHOWING. Corresponds to merge request GNOME/at-spi2-core!8 --- atspi/atspi-text.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'atspi/atspi-text.c') diff --git a/atspi/atspi-text.c b/atspi/atspi-text.c index 009d07bf..a360f56c 100644 --- a/atspi/atspi-text.c +++ b/atspi/atspi-text.c @@ -618,6 +618,8 @@ atspi_text_get_character_at_offset (AtspiText *obj, * * Gets a bounding box containing the glyph representing * the character at a particular text offset. + * The returned values are meaningful only if the Text has both + * STATE_VISIBLE and STATE_SHOWING. * * Returns: An #AtspiRect specifying the position and size of the character. * @@ -690,6 +692,8 @@ atspi_text_get_offset_at_point (AtspiText *obj, * for the returned values. * * Gets the bounding box for text within a range in an #AtspiText object. + * The returned values are meaningful only if the Text has both + * STATE_VISIBLE and STATE_SHOWING. * * Returns: An #AtspiRect giving the position and size of the specified range * of text. -- cgit v1.2.1