From fae7b8ee15af7d3c4eea352cea6f73a1c89a5ac0 Mon Sep 17 00:00:00 2001 From: compudj Date: Sat, 14 Aug 2004 06:08:06 +0000 Subject: [PATCH] fix ugly seek for process in draw_closure git-svn-id: http://ltt.polymtl.ca/svn@735 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/controlflow/eventhooks.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c index 01a49c3b..e1afc464 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c @@ -3085,14 +3085,11 @@ void draw_closure(gpointer key, gpointer value, gpointer user_data) const gchar *name = g_quark_to_string(process->name); /* process HAS to be present */ - g_assert(processlist_get_process_pixels(process_list, - process_info->pid, - process_info->cpu, - &birth, - process_info->trace_num, + processlist_get_pixels_from_data(process_list, + process_info, + hashed_process_data, &y, - &height, - &hashed_process_data) != 1); + &height); /* Now, the process is in the state hash and our own process hash. * We definitely can draw the items related to the ending state. -- 2.34.1