diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-25 17:42:58 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-25 21:32:38 +0800 |
commit | ff6b2947443fef63519a945245c499dc2656bef6 (patch) | |
tree | 298ea9be8ed56ba05b7170502f7e06d6f1196b89 | |
parent | a1e899504c6e19c56c7cdc31186d65b96881b898 (diff) | |
download | gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.tar gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.tar.gz gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.tar.bz2 gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.tar.lz gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.tar.xz gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.tar.zst gsoc2013-empathy-ff6b2947443fef63519a945245c499dc2656bef6.zip |
use g_format_size instead of g_format_size_for_display
The latter has been deprecated in GLib 2.31 but g_format_size() has been added
in 2.30 so we can already use it without bumping the dep.
-rw-r--r-- | src/empathy-ft-manager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c index e23b0b45a..5d2f659f2 100644 --- a/src/empathy-ft-manager.c +++ b/src/empathy-ft-manager.c @@ -262,11 +262,11 @@ ft_manager_format_progress_bytes_and_percentage (guint64 current, char *total_str, *current_str, *retval; char *speed_str = NULL; - total_str = g_format_size_for_display (total); - current_str = g_format_size_for_display (current); + total_str = g_format_size (total); + current_str = g_format_size (current); if (speed > 0) - speed_str = g_format_size_for_display ((goffset) speed); + speed_str = g_format_size ((goffset) speed); /* translators: first %s is the currently processed size, second %s is * the total file size */ |