Fixes NB#66410
[modest] / src / modest-text-utils.h
index e11d702..4077bab 100644 (file)
@@ -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.cx>" --> "Foo Bar"
- * ie. removes "<...>" parts
+ * "Foo Bar &lt;foo@bar.cx&gt;" --&gt; "Foo Bar"
+ * ie. removes "&lt;...&gt;" parts
  * the change is in-place; removes leading whitespace
  * 
  * NOTE: for optimization reasons, this function changes @address