[gtk] imcontext: Fix a docs mishap
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] imcontext: Fix a docs mishap
- Date: Sun, 7 Mar 2021 20:17:16 +0000 (UTC)
commit b73c9e992f17dc5cb84fb597be2e569fd3901934
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 7 15:16:04 2021 -0500
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]