projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Process state in gui
[lttv.git]
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
callbacks.c
diff --git
a/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
b/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
index a8a7ad9ed1ed3cd6b3321d9775bd0b5ee4028472..123cb7a23da557213aa95204029ea927814cc737 100644
(file)
--- a/
lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
+++ b/
lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
@@
-313,6
+313,7
@@
int SetTraceset(Tab * tab, LttvTraceset *traceset)
new_time_window.end_time = ltt_time_add(new_time_window.start_time,
new_time_window.time_width) ;
}
new_time_window.end_time = ltt_time_add(new_time_window.start_time,
new_time_window.time_width) ;
}
+ lttv_state_add_event_hooks(traceset);
/* Finally, call the update hooks of the viewers */
gint retval = update_traceset(tab, traceset);
/* Finally, call the update hooks of the viewers */
gint retval = update_traceset(tab, traceset);
@@
-3998,9
+3999,10
@@
void init_tab(Tab *tab, MainWindow * mw, Tab *copy_tab,
tab->traceset_info->traceset_context =
g_object_new(LTTV_TRACESET_STATS_TYPE, NULL);
//add state update hooks
tab->traceset_info->traceset_context =
g_object_new(LTTV_TRACESET_STATS_TYPE, NULL);
//add state update hooks
- lttv_state_add_event_hooks(
- (LttvTracesetState*)tab->traceset_info->traceset_context);
#endif //BABEL_CLEANUP
#endif //BABEL_CLEANUP
+ lttv_state_add_event_hooks(
+ tab->traceset_info->traceset);
+
//determine the current_time and time_window of the tab
#if 0
if(copy_tab != NULL){
//determine the current_time and time_window of the tab
#if 0
if(copy_tab != NULL){
This page took
0.022762 seconds
and
4
git commands to generate.