- if(hashed_process_data =
- (HashedProcessData*)g_hash_table_lookup(
- process_list->process_hash,
- &process_info))
- {
- tree_path = gtk_tree_model_get_path(
- (GtkTreeModel*)process_list->list_store,
- &hashed_process_data->y_iter);
- path_indices = gtk_tree_path_get_indices (tree_path);
-
- *height = get_cell_height(process_list,
- (GtkTreeView*)process_list->process_list_widget);
- *y = *height * path_indices[0];
- *pm_hashed_process_data = hashed_process_data;
- gtk_tree_path_free(tree_path);
-
- return 0;
- } else {
- *pm_hashed_process_data = hashed_process_data;
- return 1;
- }
-
+ return (HashedProcessData*)g_hash_table_lookup(
+ process_list->process_hash,
+ &process_info);