Initialize short_name at trace creation
[lttv.git] / lttv / modules / gui / controlflow / processlist.c
index 506dae1cc279b23589de399a05ef7316e414283b..ed775422c8c07aa5969bddec97124e420b21df11 100644 (file)
@@ -133,8 +133,10 @@ static gboolean process_list_equ_fct(gconstpointer a, gconstpointer b)
     ret = FALSE;
   if(likely((pa->pid == 0 && (pa->cpu != pb->cpu))))
     ret = FALSE;
-  if(unlikely(ltt_time_compare(pa->birth, pb->birth) != 0))
-    ret = FALSE;
+  //TODO ybrosseau 2012-09-18 Check if we want to reenable birth comparision
+  // We currently do not have valid birth info, so don't compare it
+  /*  if(unlikely(ltt_time_compare(pa->birth, pb->birth) != 0))
+      ret = FALSE;*/
   if(unlikely(pa->trace_num != pb->trace_num))
     ret = FALSE;
 
@@ -152,9 +154,8 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data)
       (ControlFlowData*)g_object_get_data(
                 G_OBJECT(widget),
                 "control_flow_data");
-  Drawing_t *drawing = control_flow_data->drawing;
-       unsigned int cell_height =
-               get_cell_height(GTK_TREE_VIEW(control_flow_data->process_list->process_list_widget));
+  unsigned int cell_height =
+      get_cell_height(GTK_TREE_VIEW(control_flow_data->process_list->process_list_widget));
 
   switch(event->direction) {
     case GDK_SCROLL_UP:
@@ -168,7 +169,7 @@ gboolean scroll_event(GtkWidget *widget, GdkEventScroll *event, gpointer data)
     default:
       g_error("should only scroll up and down.");
   }
-       return TRUE;
+  return TRUE;
 }
 
 
This page took 0.024232 seconds and 4 git commands to generate.