diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-09-26 04:23:56 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-26 04:23:56 +0000 |
commit | 53d2169b643d0c01d0b47702ae5302426eb6e3d8 (patch) | |
tree | ed763b19ff057547c0a1b869d0de8c48b47c4310 /gtk/gtkimcontext.c | |
parent | f47afed1ffbf71140f35aa5c91ede0818e019154 (diff) | |
download | gdk-pixbuf-53d2169b643d0c01d0b47702ae5302426eb6e3d8.tar.gz |
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)
2004-09-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)
Diffstat (limited to 'gtk/gtkimcontext.c')
-rw-r--r-- | gtk/gtkimcontext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkimcontext.c b/gtk/gtkimcontext.c index 58706832b..3f993cfa4 100644 --- a/gtk/gtkimcontext.c +++ b/gtk/gtkimcontext.c @@ -269,7 +269,7 @@ gtk_im_context_set_client_window (GtkIMContext *context, * @attrs: location to store the retrieved attribute list. * When you are done with this list, you must * unreference it with pango_attr_list_unref(). - * @cursor_pos: location to store position of cursor (in bytes) + * @cursor_pos: location to store position of cursor (in characters) * within the preedit string. * * Retrieve the current preedit string for the input context, @@ -522,7 +522,7 @@ gtk_im_context_get_surrounding (GtkIMContext *context, * Asks the widget that the input context is attached to to delete * characters around the cursor position by emitting the * GtkIMContext::delete_surrounding signal. Note that @offset and @n_chars - * are in characters not in bytes, which differs from the usage other + * are in characters not in bytes which differs from the usage other * places in #GtkIMContext. * * In order to use this function, you should first call |