projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use enums arch specific for syscall names
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
eventhooks.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
b/ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
index 72986339f98a96f981eeb0ac2df1eab2af398548..c2b16dfa7f7fb13a0b19d12430d89c4c07886fab 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
@@
-139,7
+139,8
@@
static void request_background_data(ControlFlowData *control_flow_data)
* starts.
*/
if(!lttvwindowtraces_background_request_find(trace, "state"))
* starts.
*/
if(!lttvwindowtraces_background_request_find(trace, "state"))
- lttvwindowtraces_background_request_queue(trace, "state");
+ lttvwindowtraces_background_request_queue(
+ main_window_get_widget(control_flow_data->tab), trace, "state");
lttvwindowtraces_background_notify_queue(control_flow_data,
trace,
ltt_time_infinite,
lttvwindowtraces_background_notify_queue(control_flow_data,
trace,
ltt_time_infinite,
@@
-157,7
+158,7
@@
static void request_background_data(ControlFlowData *control_flow_data)
}
} else {
/* Data ready. Be its nature, this viewer doesn't need to have
}
} else {
/* Data ready. Be its nature, this viewer doesn't need to have
- * its data ready hook called
ht
ere, because a background
+ * its data ready hook called
th
ere, because a background
* request is always linked with a redraw.
*/
}
* request is always linked with a redraw.
*/
}
@@
-182,7
+183,7
@@
GtkWidget *
h_guicontrolflow(Tab *tab)
{
g_info("h_guicontrolflow, %p", tab);
h_guicontrolflow(Tab *tab)
{
g_info("h_guicontrolflow, %p", tab);
- ControlFlowData *control_flow_data = guicontrolflow() ;
+ ControlFlowData *control_flow_data = guicontrolflow(
tab
) ;
control_flow_data->tab = tab;
control_flow_data->tab = tab;
@@
-1926,6
+1927,12
@@
gint traceset_notify(void *hook_data, void *call_data)
ControlFlowData *control_flow_data = (ControlFlowData*) hook_data;
Drawing_t *drawing = control_flow_data->drawing;
ControlFlowData *control_flow_data = (ControlFlowData*) hook_data;
Drawing_t *drawing = control_flow_data->drawing;
+ if(unlikely(drawing->gc == NULL)) {
+ return FALSE;
+ }
+ if(drawing->dotted_gc == NULL) {
+ return FALSE;
+ }
drawing_clear(control_flow_data->drawing);
processlist_clear(control_flow_data->process_list);
drawing_clear(control_flow_data->drawing);
processlist_clear(control_flow_data->process_list);
This page took
0.022858 seconds
and
4
git commands to generate.