aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-25 17:42:58 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-25 17:43:03 +0800
commit8f4879a519a39a0adcec4d98d586b151d25e053f (patch)
treef6106d32c60b1c3dd24a04633acfe9022e653918
parentb23a0b7ee30e2847f0b317e2e7b61adcf545a322 (diff)
downloadgsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.tar
gsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.tar.gz
gsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.tar.bz2
gsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.tar.lz
gsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.tar.xz
gsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.tar.zst
gsoc2013-empathy-8f4879a519a39a0adcec4d98d586b151d25e053f.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--libempathy-gtk/empathy-ui-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index b52d9ef94..30b3e1f28 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1907,8 +1907,8 @@ file_manager_receive_file_response_cb (GtkDialog *dialog,
_("Insufficient free space to save file"));
char *file_size_str, *free_space_str;
- file_size_str = g_format_size_for_display (file_size);
- free_space_str = g_format_size_for_display (free_space);
+ file_size_str = g_format_size (file_size);
+ free_space_str = g_format_size (free_space);
gtk_message_dialog_format_secondary_text (
GTK_MESSAGE_DIALOG (message),