state update hooks added by the main window by default
[lttv.git] / ltt / branches / poly / lttv / modules / guiStatistic / guiStatistic.c
index cbc16f2cfa737b6532e92c55f5c77fee24be0284..e9b4b761d41535bb9655482c1de4d5dd74da2d7f 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);
+  //  state_add_event_hooks_api(statistic_viewer_data->mw);  //it is 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);
+  //  state_remove_event_hooks_api(statistic_viewer_data->mw); //it is done in the main window
   stats_remove_event_hooks_api(statistic_viewer_data->mw);
 }
 
This page took 0.022378 seconds and 4 git commands to generate.