Remove one BABELCLEANUP to update display at statedump end
authorYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 27 Mar 2013 15:20:53 +0000 (11:20 -0400)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 27 Mar 2013 15:20:53 +0000 (11:20 -0400)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
lttv/modules/gui/controlflow/eventhooks.c

index 6ce8ef882d8e48304a53125b22e3226e0dbb8421..81cfd9e6591a5917b0c19a68876166b3a698ceb6 100644 (file)
@@ -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;
 }
This page took 0.026419 seconds and 4 git commands to generate.