diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2008-11-22 00:18:19 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-11-22 00:18:19 +0800 |
commit | aafd289fc10fefa55fcf0adf49b7ea0118971492 (patch) | |
tree | 1c7ab99b3ff3eb714cb39c667b95ecf36dd74e49 /libempathy | |
parent | 19e9827684f11667fc9d51f868094be91cc4fd50 (diff) | |
download | gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.tar gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.tar.gz gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.tar.bz2 gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.tar.lz gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.tar.xz gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.tar.zst gsoc2013-empathy-aafd289fc10fefa55fcf0adf49b7ea0118971492.zip |
Removed useless +0.5 in get_time_remaining. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=1808
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 889b7b61b..de07d496b 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -891,7 +891,7 @@ empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file) remaining_time = time_per_byte * (tp_file->priv->size - tp_file->priv->transferred_bytes); - return (gint) (remaining_time + 0.5); + return (gint) remaining_time; } void |