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);
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);
}
//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);
}
}
//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);
}