fix ugly seek for process in draw_closure
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / eventhooks.c
index 01a49c3b7ce8541aa6040c2016a9e5f1dded803f..e1afc464b439606d3a0a0c7808116712ffdeeed1 100644 (file)
@@ -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.
This page took 0.023622 seconds and 4 git commands to generate.