From 6c81be9ef621bebcb33b9e2e2d86c7b09cc00322 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Sun, 14 Feb 2016 13:58:43 +0400 Subject: 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(). --- pango/pango-layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. * -- cgit v1.2.1