X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=405a231e45cf981dd977943879e4b65c7355af22;hp=e07e682b2baf212e9c355240275f9b9bfda17e5a;hb=9af35d848c6bd939c607c9c8293ad7e475ecaa0c;hpb=36f4004f158228ed5c3a3a644e76c40213c6b63e diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index e07e682..405a231 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -106,12 +106,14 @@ gchar* modest_text_utils_inline (const gchar *text, /** * modest_text_utils_remove_address - * @address_list: string with a comma-separated list of email addresses - * @address: an specific e-mail address + * @address_list: none-NULL string with a comma-separated list of email addresses + * @address: an specific e-mail address * - * remove a specific address from a list of email addresses + * remove a specific address from a list of email addresses; if @address + * is NULL, returns an unchanged @address_list * - * Returns: a newly allocated string containing the new list + * Returns: a newly allocated string containing the new list, or NULL + * in case of error or the original @address_list was NULL */ gchar* modest_text_utils_remove_address (const gchar *address_list, const gchar *address);