back to version 385
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 16 Jan 2004 17:09:23 +0000 (17:09 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 16 Jan 2004 17:09:23 +0000 (17:09 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@387 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/mainWin/src/callbacks.c
ltt/branches/poly/lttv/modules/guiStatistic/guiStatistic.c

index c0532394ba786b5005ef585db556f5336f020455..5440d6ecbfd2bad288adac29662dfc04388b9cbd 100644 (file)
@@ -323,8 +323,8 @@ void redraw_viewer(MainWindow * mw_data, TimeWindow * time_window)
   gdk_window_stick(win);
   gdk_window_unstick(win);
  
-  lttv_state_add_event_hooks(
-             (LttvTracesetState*)mw_data->current_tab->traceset_info->traceset_context);
+  //lttv_state_add_event_hooks(
+  //           (LttvTracesetState*)mw_data->current_tab->traceset_info->traceset_context);
 
   //update time window of each viewer, let viewer insert hooks needed by process_traceset
   set_time_window(mw_data, time_window);
@@ -335,8 +335,8 @@ void redraw_viewer(MainWindow * mw_data, TimeWindow * time_window)
                       ltt_time_add(time_window->start_time,time_window->time_width),
                       max_nb_events);
 
-  lttv_state_remove_event_hooks(
-          (LttvTracesetState*)mw_data->current_tab->traceset_info->traceset_context);
+  //lttv_state_remove_event_hooks(
+  //        (LttvTracesetState*)mw_data->current_tab->traceset_info->traceset_context);
 
   //call hooks to show each viewer and let them remove hooks
   show_viewer(mw_data);  
index e9b4b761d41535bb9655482c1de4d5dd74da2d7f..9b1305721b3e84b6119b29fd53fc1abb9e225303 100644 (file)
@@ -628,7 +628,7 @@ void statistic_add_context_hooks(StatisticViewerData * statistic_viewer_data,
   }  
 
   //add state and stats hooks
-  //  state_add_event_hooks_api(statistic_viewer_data->mw);  //it is added in the main window
+  state_add_event_hooks_api(statistic_viewer_data->mw);  //it will be added in the main window
   stats_add_event_hooks_api(statistic_viewer_data->mw);
   
 }
@@ -680,7 +680,7 @@ void statistic_remove_context_hooks(StatisticViewerData * statistic_viewer_data,
   }
 
   //remove state and stats hooks
-  //  state_remove_event_hooks_api(statistic_viewer_data->mw); //it is done in the main window
+  state_remove_event_hooks_api(statistic_viewer_data->mw); //it will be done in the main window
   stats_remove_event_hooks_api(statistic_viewer_data->mw);
 }
 
This page took 0.032006 seconds and 4 git commands to generate.