[Xfce4-commits] <xfce4-taskmanager:master> Typo, that's why I hate commit and pushing right behind

Mike Massonnet noreply at xfce.org
Wed May 5 18:04:01 CEST 2010


Updating branch refs/heads/master
         to 2506eb50d8187131e80808025cfb071e8ec1b508 (commit)
       from 3cd86dca3d9110a0e51e86611abd3fcc761eefc9 (commit)

commit 2506eb50d8187131e80808025cfb071e8ec1b508
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Wed May 5 18:02:35 2010 +0200

    Typo, that's why I hate commit and pushing right behind

 src/task-manager-linux.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/task-manager-linux.c b/src/task-manager-linux.c
index df50209..44704fe 100644
--- a/src/task-manager-linux.c
+++ b/src/task-manager-linux.c
@@ -161,8 +161,8 @@ get_cpu_percent (guint pid, gulong jiffies_user, gfloat *cpu_user, gulong jiffie
 
 	jiffies_user_old = GPOINTER_TO_UINT (g_hash_table_lookup (hash_cpu_user, GUINT_TO_POINTER (pid)));
 	jiffies_system_old = GPOINTER_TO_UINT (g_hash_table_lookup (hash_cpu_system, GUINT_TO_POINTER (pid)));
-	g_hash_table_insert (hash_user, GUINT_TO_POINTER (pid), GUINT_TO_POINTER (jiffies_cpu_user));
-	g_hash_table_insert (hash_system, GUINT_TO_POINTER (pid), GUINT_TO_POINTER (jiffies_cpu_system));
+	g_hash_table_insert (hash_cpu_user, GUINT_TO_POINTER (pid), GUINT_TO_POINTER (jiffies_user));
+	g_hash_table_insert (hash_cpu_system, GUINT_TO_POINTER (pid), GUINT_TO_POINTER (jiffies_system));
 
 	if (_cpu_count > 0)
 	{



More information about the Xfce4-commits mailing list