[baobab] chart: Fix directory size shown in tooltip



commit af46a41474a4f70493268fd23544266efb96be5b
Author: Stefano Facchini <stefano facchini gmail com>
Date:   Mon Apr 2 16:55:08 2012 +0200

    chart: Fix directory size shown in tooltip
    
    A typo introduced in commit b6642cd2d4e99fe.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=673359

 src/baobab-chart.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/baobab-chart.c b/src/baobab-chart.c
index f2c6d5a..ce44497 100644
--- a/src/baobab-chart.c
+++ b/src/baobab-chart.c
@@ -420,7 +420,7 @@ baobab_chart_add_item (BaobabChart *chart,
 {
   BaobabChartItem *item;
   gchar *name;
-  guint64 size;
+  gchar *size;
 
   gtk_tree_model_get (chart->priv->model, &iter,
                       chart->priv->name_column, &name,
@@ -429,7 +429,7 @@ baobab_chart_add_item (BaobabChart *chart,
 
   item = g_new (BaobabChartItem, 1);
   item->name = name;
-  item->size = g_format_size (size);
+  item->size = size;
   item->depth = depth;
   item->rel_start = rel_start;
   item->rel_size = rel_size;



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