summaryrefslogtreecommitdiff
path: root/pango/pango-layout.c
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2016-02-14 13:58:43 +0400
committerKhaled Hosny <khaledhosny@eglug.org>2016-02-14 13:58:43 +0400
commit6c81be9ef621bebcb33b9e2e2d86c7b09cc00322 (patch)
tree2affdb57000343919d26e448456ac5608e243264 /pango/pango-layout.c
parent8b9ced50e5d2c5797de0095366955d10ebc2c231 (diff)
downloadpango-6c81be9ef621bebcb33b9e2e2d86c7b09cc00322.tar.gz
Fix typo in pango_layout_xy_to_index() docs
It was referring to itself for further description, but I assume the intent was to refer to pango_layout_line_x_to_index().
Diffstat (limited to 'pango/pango-layout.c')
-rw-r--r--pango/pango-layout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 57e8e8f5..9452c9b8 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -2018,7 +2018,7 @@ pango_layout_move_cursor_visually (PangoLayout *layout,
* Y position is not inside the layout, the closest position is chosen
* (the position will be clamped inside the layout). If the
* X position is not within the layout, then the start or the
- * end of the line is chosen as described for pango_layout_xy_to_index().
+ * end of the line is chosen as described for pango_layout_line_x_to_index().
* If either the X or Y positions were not inside the layout, then the
* function returns %FALSE; on an exact hit, it returns %TRUE.
*