X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=4077bab26954463f2663746c6e1c25e2d6661e04;hb=2b58f5abfb171a82424c14cd9777ea5ee460db61;hp=e11d702d59ce737ec15cfddc5c80df0efa0f800e;hpb=16d7f8b9f45217e350735e33ee6d0255aa894074;p=modest diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index e11d702..4077bab 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -142,7 +142,7 @@ gchar* modest_text_utils_remove_address (const gchar *address_list, /** * modest_text_utils_address_range_at_position: - * @address_list: utf8 string containing a list of addresses + * @address_list: non-NULL utf8 string containing a list of addresses * @position: a gint * @start: a gint pointer * @end: a gint pointer @@ -153,9 +153,9 @@ gchar* modest_text_utils_remove_address (const gchar *address_list, * @end */ void modest_text_utils_address_range_at_position (const gchar *recipients_list, - gint position, - gint *start, - gint *end); + guint position, + guint *start, + guint *end); /** * modest_text_utils_hyperlinkify_begin: @@ -213,8 +213,8 @@ size_t modest_text_utils_strftime(char *s, size_t max, const char *fmt, time_t * @address: original address (UTF8 string) * * make a 'display address' from an address: - * "Foo Bar " --> "Foo Bar" - * ie. removes "<...>" parts + * "Foo Bar <foo@bar.cx>" --> "Foo Bar" + * ie. removes "<...>" parts * the change is in-place; removes leading whitespace * * NOTE: for optimization reasons, this function changes @address