summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-07 15:16:04 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-03-07 15:16:59 -0500
commitb73c9e992f17dc5cb84fb597be2e569fd3901934 (patch)
tree4b8bc3dff391fe38619bd83b73caf9e95eea18ed
parent87b800c11d71bd061aece4476e28dcc43d036ed3 (diff)
downloadgtk+-b73c9e992f17dc5cb84fb597be2e569fd3901934.tar.gz
imcontext: Fix a docs mishap
-rw-r--r--gtk/gtkimcontext.c4
1 files 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.