From a06dd020922bf760865f84600a653d437fa969c2 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Mon, 14 Feb 2011 19:48:44 -0500 Subject: [PATCH] info: re-prettify cpu info --- panels/info/cc-info-panel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c index b91fabed8..f507ed27f 100644 --- a/panels/info/cc-info-panel.c +++ b/panels/info/cc-info-panel.c @@ -619,6 +619,7 @@ get_cpu_info (const glibtop_sysinfo *info) { GHashTable *counts; GString *cpu; + char *ret; GHashTableIter iter; gpointer key, value; int i; @@ -669,7 +670,10 @@ get_cpu_info (const glibtop_sysinfo *info) g_hash_table_destroy (counts); - return g_string_free (cpu, FALSE); + ret = prettify_info (cpu->str); + g_string_free (cpu, TRUE); + + return ret; } static void