From: Yannick Brosseau Date: Wed, 27 Mar 2013 15:20:53 +0000 (-0400) Subject: Remove one BABELCLEANUP to update display at statedump end X-Git-Tag: v1.5-beta1~22 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3dc978780e632a699a82f4c2bb74cee6fdb518a0;p=lttv.git Remove one BABELCLEANUP to update display at statedump end Signed-off-by: Yannick Brosseau --- diff --git a/lttv/modules/gui/controlflow/eventhooks.c b/lttv/modules/gui/controlflow/eventhooks.c index 6ce8ef88..81cfd9e6 100644 --- a/lttv/modules/gui/controlflow/eventhooks.c +++ b/lttv/modules/gui/controlflow/eventhooks.c @@ -2042,10 +2042,14 @@ int before_statedump_end(void *hook_data, void *call_data) #endif LttTime evtime = lttv_event_get_timestamp(event); -#ifdef BABEL_CLEANUP + ClosureData closure_data; - closure_data.events_request = events_request; - closure_data.tss = tss; + //TODO ybrosseau 2013-03-27: Fake and event_request. + // We need to change the API of drawing_request_expose to ask + // For and control flow data only. + EventsRequest events_request; + events_request.viewer_data = control_flow_data; + closure_data.events_request = &events_request; closure_data.end_time = evtime; TimeWindow time_window = @@ -2073,7 +2077,7 @@ int before_statedump_end(void *hook_data, void *call_data) gtk_widget_queue_draw(control_flow_data->drawing->drawing_area); #endif //0 /* Request expose (updates damages zone also) */ - drawing_request_expose(events_request, tss, evtime); -#endif + drawing_request_expose(&events_request, evtime); + return 0; }