diff options
author | Radek Doulik <rodo@ximian.com> | 2004-06-24 23:06:02 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2004-06-24 23:06:02 +0800 |
commit | ac7ffd6aff484dfced4681d72a2553038b94d37c (patch) | |
tree | cc5d7066b8874da92da14155e40f62d560adcc41 /addressbook/gui/component/select-names/e-select-names-model.c | |
parent | 7e312352ddce524fdb9b2e8b46eb59786a53d8a8 (diff) | |
download | gsoc2013-evolution-ac7ffd6aff484dfced4681d72a2553038b94d37c.tar.gz gsoc2013-evolution-ac7ffd6aff484dfced4681d72a2553038b94d37c.tar.zst gsoc2013-evolution-ac7ffd6aff484dfced4681d72a2553038b94d37c.zip |
do not limit the text len to 2047 characters
2004-06-24 Radek Doulik <rodo@ximian.com>
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_get_textification): do not limit the text
len to 2047 characters
See bug #60366
svn path=/trunk/; revision=26497
Diffstat (limited to 'addressbook/gui/component/select-names/e-select-names-model.c')
-rw-r--r-- | addressbook/gui/component/select-names/e-select-names-model.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/addressbook/gui/component/select-names/e-select-names-model.c b/addressbook/gui/component/select-names/e-select-names-model.c index 46b66d5ef1..49b9e5039d 100644 --- a/addressbook/gui/component/select-names/e-select-names-model.c +++ b/addressbook/gui/component/select-names/e-select-names-model.c @@ -22,9 +22,6 @@ #include "e-select-names-marshal.h" #include "eab-book-util.h" -#define MAX_LENGTH 2047 - - enum { E_SELECT_NAMES_MODEL_CHANGED, E_SELECT_NAMES_MODEL_RESIZED, @@ -214,12 +211,6 @@ e_select_names_model_get_textification (ESelectNamesModel *model, const char *se } text = g_strjoinv (separator, strv); - - if (g_utf8_strlen(text, -1) > MAX_LENGTH) { - char *p = g_utf8_offset_to_pointer (text, MAX_LENGTH); - *p = '\0'; - text = g_realloc (text, p - text + 1); - } g_free (strv); |