[Xfce4-commits] <thunar:migration-to-gio> Drop g_file_size_humanize(), use g_format_size_for_display() instead.

Jannis Pohlmann jannis at xfce.org
Sun Aug 16 00:06:01 CEST 2009


Updating branch refs/heads/migration-to-gio
         to 4234139ddc3fe3ab20ec9b08540bd2389869f71c (commit)
       from 577080d1d35de25942d2ec3cf6b4b24cf6a0c129 (commit)

commit 4234139ddc3fe3ab20ec9b08540bd2389869f71c
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sun Aug 16 00:01:36 2009 +0200

    Drop g_file_size_humanize(), use g_format_size_for_display() instead.

 thunar/thunar-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c
index 224c935..c613028 100644
--- a/thunar/thunar-file.c
+++ b/thunar/thunar-file.c
@@ -1609,7 +1609,7 @@ gchar *
 thunar_file_get_size_string (const ThunarFile *file)
 {
   _thunar_return_val_if_fail (THUNAR_IS_FILE (file), NULL);
-  return g_file_size_humanize (thunar_file_get_size (file));
+  return g_format_size_for_display (thunar_file_get_size (file));
 }
 
 



More information about the Xfce4-commits mailing list