From 6ba6ea42a5970c00d113dfcd4cb4afacbb523f6b Mon Sep 17 00:00:00 2001 From: yangxx Date: Fri, 16 Jan 2004 17:09:23 +0000 Subject: [PATCH] back to version 385 git-svn-id: http://ltt.polymtl.ca/svn@387 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/mainWin/src/callbacks.c | 8 ++++---- .../poly/lttv/modules/guiStatistic/guiStatistic.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/mainWin/src/callbacks.c b/ltt/branches/poly/lttv/modules/gui/mainWin/src/callbacks.c index c0532394..5440d6ec 100644 --- a/ltt/branches/poly/lttv/modules/gui/mainWin/src/callbacks.c +++ b/ltt/branches/poly/lttv/modules/gui/mainWin/src/callbacks.c @@ -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); diff --git a/ltt/branches/poly/lttv/modules/guiStatistic/guiStatistic.c b/ltt/branches/poly/lttv/modules/guiStatistic/guiStatistic.c index e9b4b761..9b130572 100644 --- a/ltt/branches/poly/lttv/modules/guiStatistic/guiStatistic.c +++ b/ltt/branches/poly/lttv/modules/guiStatistic/guiStatistic.c @@ -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); } -- 2.34.1