From 5e203bc024a3d8a34921ae237ae595002889bf12 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 1 Dec 2015 17:50:17 +0300 Subject: process properties: use proper format for "CPU time" property it should be the same as in "CPU time" column of process table now adapted from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=3c1f17877f95fcac7f5d437739305e245af7ba8b --- src/util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/util.cpp') diff --git a/src/util.cpp b/src/util.cpp index 3573f00..0690d48 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -85,8 +85,8 @@ static inline unsigned divide(unsigned *q, unsigned *r, unsigned d) * @param d: duration in centiseconds * @type d: unsigned */ -static char * -format_duration_for_display(unsigned centiseconds) +gchar * +procman::format_duration_for_display(unsigned centiseconds) { unsigned weeks = 0, days = 0, hours = 0, minutes = 0, seconds = 0; -- cgit v1.2.1