X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fresourceview%2Fprocesslist.c;h=503adf475e1c1df54ab5a8e620f1354dd3947444;hb=671c625bcec1e67296ad3f6227a8c490689ec02b;hp=3495202cc735d68de9165aba8e3e3ba4dcd12f44;hpb=67f729732d629426de5a04965a81f6f0848af053;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c index 3495202c..503adf47 100644 --- a/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/resourceview/processlist.c @@ -59,7 +59,7 @@ gint resource_sort_func ( GtkTreeModel *model, static guint ru_numeric_hash_fct(gconstpointer key) { - ResourceUniqueNumeric *ru = (const ResourceUniqueNumeric *)key; + ResourceUniqueNumeric *ru = (ResourceUniqueNumeric *)key; int tmp = (ru->trace_num << 8) ^ ru->id; return g_int_hash(&tmp); @@ -139,7 +139,7 @@ void update_index_to_pixmap(ProcessList *process_list) arg.count = 0; arg.process_list = process_list; - gtk_tree_model_foreach(process_list->list_store, + gtk_tree_model_foreach(GTK_TREE_MODEL(process_list->list_store), (GtkTreeModelForeachFunc)update_index_to_pixmap_each, &arg); } @@ -514,7 +514,7 @@ HashedResourceData *resourcelist_obtain_machine(ControlFlowData *resourceview_da gtk_widget_queue_draw(resourceview_data->drawing->drawing_area); } - gtk_tree_view_expand_all(resourceview_data->process_list->process_list_widget); + gtk_tree_view_expand_all(GTK_TREE_VIEW(resourceview_data->process_list->process_list_widget)); return data; }