From ff6b2947443fef63519a945245c499dc2656bef6 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 25 Oct 2011 11:42:58 +0200 Subject: 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. --- src/empathy-ft-manager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3