X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=3608935adca9d4818263cdde745a42186bbfb5a4;hp=d881f00ad5901926a29988748ef80df70f825349;hb=28fbc4e0d124d6c3d41cfd970ad699fe48555182;hpb=8693ed99a8fdb7bca95f7b565810b7a169e61e67 diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index d881f00..3608935 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -504,4 +504,15 @@ gchar *modest_text_utils_escape_mnemonics (const gchar *text); */ gchar *modest_text_utils_simplify_recipients (const gchar *recipient); +/** + * modest_text_utils_remove_duplicate_addresses_list + * @address_list: non-NULL #GSList of email addresses + * + * remove duplicate addresses from a list of email addresses + * + * Returns: a list without the duplicate addresses or NULL in case of + * error or the original @address_list was NULL + */ +GSList *modest_text_utils_remove_duplicate_addresses_list (GSList *address_list); + #endif /* __MODEST_TEXT_UTILS_H__ */