git-svn-id: http://ltt.polymtl.ca/svn@320 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 23 Oct 2003 17:53:10 +0000 (17:53 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 23 Oct 2003 17:53:10 +0000 (17:53 +0000)
ltt/branches/poly/lttv/modules/guiEvents.c

index 5386fe41a06ccb51197ebcb72beb9599c546a700..6241f24d5868893dea6bf809b6595ee34ea74d15 100644 (file)
@@ -700,8 +700,8 @@ void v_scroll_cb (GtkAdjustment *adjustment, gpointer data)
                                                 event_viewer_data->first_event,
                                                 -1);
       
-      gtk_tree_view_set_cursor(GTK_TREE_VIEW(event_viewer_data->tree_v), tree_path,
-                              NULL, FALSE);
+      //      gtk_tree_view_set_cursor(GTK_TREE_VIEW(event_viewer_data->tree_v), tree_path,
+      //                              NULL, FALSE);
       gtk_tree_path_free(tree_path);
     }
  
@@ -948,7 +948,7 @@ void get_test_data(double time_value, guint list_height,
       time = ltt_time_sub(raw_data->time, event_viewer_data->time_span.startTime);
       event_viewer_data->vadjust_c->value = ltt_time_to_double(time) * NANOSECONDS_PER_SECOND;
       g_signal_stop_emission_by_name(G_OBJECT(event_viewer_data->vadjust_c), "value-changed");
-      event_viewer_data->previous_value = value;
+      event_viewer_data->previous_value = event_viewer_data->vadjust_c->value;
     }
     
 
@@ -1241,7 +1241,7 @@ void get_events(EventViewerData* event_viewer_data, LttTime start,
       }else if(pid != -1 && tmpPid == -1){
        for(i=0;i<event_viewer_data->raw_trace_data_queue_tmp->length;i++){
          data = (RawTraceData*)g_list_nth_data(tmpList,i);
-         if(data->pid == -1) data->pid = tmpPid;
+         if(data->pid == -1) data->pid = pid;
        }
       }
     }
This page took 0.025204 seconds and 4 git commands to generate.