From b73c9e992f17dc5cb84fb597be2e569fd3901934 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 7 Mar 2021 15:16:04 -0500 Subject: [PATCH] imcontext: Fix a docs mishap --- gtk/gtkimcontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index 13a8c3bb31..b6c0c18b30 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -769,7 +769,7 @@ gtk_im_context_set_surrounding (GtkIMContext *context, * the preedit string should not be included within * @text. * @len: the length of @text, or -1 if @text is nul-terminated - * @cursor_index: the byte index of the insertion cursor within @text. + * @cursor_index: the byte index of the insertion cursor within @text * @anchor_index: the byte index of the selection bound within @text * * Sets surrounding context around the insertion point and preedit @@ -843,7 +843,7 @@ gtk_im_context_get_surrounding (GtkIMContext *context, } /** - * gtk_im_context_get_surrounding: + * gtk_im_context_get_surrounding_with_selection: * @context: a #GtkIMContext * @text: (out) (transfer full): location to store a UTF-8 encoded * string of text holding context around the insertion point.