aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-time.h
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-05-10 23:36:00 +0800
committerWill Thompson <will.thompson@collabora.co.uk>2011-05-12 18:34:24 +0800
commite98c7a31f74356590b5093d2108f100a661cfda1 (patch)
tree907a589292c4dffb292d0ac185fdbc13b3e0a785 /libempathy/empathy-time.h
parenta89cddec3e5faee08f61c1fc9ee67ccf243a0e1c (diff)
downloadgsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.tar
gsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.tar.gz
gsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.tar.bz2
gsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.tar.lz
gsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.tar.xz
gsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.tar.zst
gsoc2013-empathy-e98c7a31f74356590b5093d2108f100a661cfda1.zip
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.
Diffstat (limited to 'libempathy/empathy-time.h')
-rw-r--r--libempathy/empathy-time.h1
1 files changed, 1 insertions, 0 deletions
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