[gnome-settings-daemon] housekeeping: Use new g_format_size() instead of g_format_size_for_display()



commit 48e4e5902c4ffd50af392f73ae54cb1e9c14b5a4
Author: Javier JardÃn <jjardon gnome org>
Date:   Wed Aug 3 18:07:23 2011 +0100

    housekeeping: Use new g_format_size() instead of g_format_size_for_display()

 configure.ac                           |    2 +-
 plugins/housekeeping/gsd-disk-space.c  |    2 +-
 plugins/housekeeping/gsd-ldsm-dialog.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f511b39..27595f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@ dnl - Dependencies
 dnl ---------------------------------------------------------------------------
 
 DBUS_GLIB_REQUIRED_VERSION=0.74
-GLIB_REQUIRED_VERSION=2.26.0
+GLIB_REQUIRED_VERSION=2.29.14
 GTK_REQUIRED_VERSION=2.99.3
 GCONF_REQUIRED_VERSION=2.6.1
 GIO_REQUIRED_VERSION=2.26.0
diff --git a/plugins/housekeeping/gsd-disk-space.c b/plugins/housekeeping/gsd-disk-space.c
index bc2a375..ad4c2bc 100644
--- a/plugins/housekeeping/gsd-disk-space.c
+++ b/plugins/housekeeping/gsd-disk-space.c
@@ -326,7 +326,7 @@ ldsm_notify_for_mount (LdsmMountInfo *mount,
                 char *summary;
                 char *body;
 
-                free_space_str = g_format_size_for_display (free_space);
+                free_space_str = g_format_size (free_space);
 
                 if (multiple_volumes) {
                         summary = g_strdup_printf (_("Low Disk Space on \"%s\""), name);
diff --git a/plugins/housekeeping/gsd-ldsm-dialog.c b/plugins/housekeeping/gsd-ldsm-dialog.c
index 1a0a2b1..96161ec 100644
--- a/plugins/housekeeping/gsd-ldsm-dialog.c
+++ b/plugins/housekeeping/gsd-ldsm-dialog.c
@@ -75,7 +75,7 @@ gsd_ldsm_dialog_get_primary_text (GsdLdsmDialog *dialog)
 	
         g_return_val_if_fail (GSD_IS_LDSM_DIALOG (dialog), NULL);
 	
-        free_space = g_format_size_for_display (dialog->priv->space_remaining);
+        free_space = g_format_size (dialog->priv->space_remaining);
 	
         if (dialog->priv->other_partitions) {
                 primary_text = g_strdup_printf (_("The volume \"%s\" has only %s disk space remaining."),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]