diff options
author | Chris Toshok <toshok@ximian.com> | 2003-05-14 08:45:20 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-05-14 08:45:20 +0800 |
commit | 6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb (patch) | |
tree | 24b76500806a88af8c1e9e325b419d1d829b80d8 /wombat | |
parent | 2579e70339ec9fe523115b654f457b6a07367de8 (diff) | |
download | gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.tar gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.tar.gz gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.tar.bz2 gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.tar.lz gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.tar.xz gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.tar.zst gsoc2013-evolution-6c97a30c5e83a1bbb93c9c65c24aa21638d2e5fb.zip |
strlen -> g_utf8_strlen. (e_select_names_text_model_insert): same.
2003-05-13 Chris Toshok <toshok@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
(e_select_names_text_model_set_separator): strlen ->
g_utf8_strlen.
(e_select_names_text_model_insert): same.
(e_select_names_text_model_insert_length): big change, make this
work with multibyte utf8.
(e_select_names_text_model_delete): same. this could possibly use
a tighter loop + a memmove, but this works.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): make sure our truncation
to MAX_LENGTH characters uses utf8 characters, not bytes.
(e_select_names_model_name_pos): track e-text-model change.
pos/length are now in utf8 character terms, so use g_utf8_strlen
instead of strlen.
(e_select_names_model_text_pos): same.
svn path=/trunk/; revision=21165
Diffstat (limited to 'wombat')
0 files changed, 0 insertions, 0 deletions