X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-text-utils.h;h=e11d702d59ce737ec15cfddc5c80df0efa0f800e;hp=0cba027cca65ec1465469c643ffb1e3f6a5926f8;hb=16d7f8b9f45217e350735e33ee6d0255aa894074;hpb=b35d93d9bf3b37ce2586f16d6e35cec5250221c3 diff --git a/src/modest-text-utils.h b/src/modest-text-utils.h index 0cba027..e11d702 100644 --- a/src/modest-text-utils.h +++ b/src/modest-text-utils.h @@ -270,10 +270,13 @@ gint modest_text_utils_utf8_strcmp (const gchar* s1, const gchar *s2, gboolean i * * get a string representation for a date. * - * Returns: the new display date, as a newly allocated string; - * free with g_free + * Returns: the new display date, as a *static* string. + * This string should not be modified, and will change + * upon recalling this function. g_strdup it if you to + * do so. + * */ -gchar* modest_text_utils_get_display_date (time_t date); +const gchar* modest_text_utils_get_display_date (time_t date); /**