diff options
author | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-22 00:18:19 +0800 |
---|---|---|
committer | xclaesse <xclaesse@4ee84921-47dd-4033-b63a-18d7a039a3e4> | 2008-11-22 00:18:19 +0800 |
commit | 911e75151fdbe7c3bf31f342eaaa55448e8740db (patch) | |
tree | 1c7ab99b3ff3eb714cb39c667b95ecf36dd74e49 /libempathy | |
parent | 6993bc1e81c36431decd77b1f67be6452fcfae04 (diff) | |
download | gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.tar gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.tar.gz gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.tar.bz2 gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.tar.lz gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.tar.xz gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.tar.zst gsoc2013-empathy-911e75151fdbe7c3bf31f342eaaa55448e8740db.zip |
Removed useless +0.5 in get_time_remaining. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
git-svn-id: svn+ssh://svn.gnome.org/svn/empathy/trunk@1808 4ee84921-47dd-4033-b63a-18d7a039a3e4
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 |