From e98c7a31f74356590b5093d2108f100a661cfda1 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Tue, 10 May 2011 16:36:00 +0100 Subject: Add empathy_duration_to_string() This is based on the body of empathy_time_to_string_relative(); it takes a duration in seconds, rather than a timestamp. --- libempathy/empathy-time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libempathy/empathy-time.h') diff --git a/libempathy/empathy-time.h b/libempathy/empathy-time.h index 7fac48221..3a22adeee 100644 --- a/libempathy/empathy-time.h +++ b/libempathy/empathy-time.h @@ -45,6 +45,7 @@ gchar *empathy_time_to_string_utc (gint64 t, gchar *empathy_time_to_string_local (gint64 t, const gchar *format); gchar *empathy_time_to_string_relative (gint64 t); +gchar *empathy_duration_to_string (guint seconds); G_END_DECLS -- cgit v1.2.3