Remove more warnings in the GUI modules
[lttv.git] / lttv / modules / gui / histogram / histoeventhooks.c
index 46aeca526a94bf6717ae7a074138ef2d999d08c1..a870e419c7aa44378a24c4927ed3f9eee143b876 100644 (file)
 
 //#include <pango/pango.h>
 
-#include <ltt/event.h>
-#include <ltt/time.h>
-#include <ltt/trace.h>
-
 #include <lttv/lttv.h>
 #include <lttv/hook.h>
 #include <lttv/state.h>
@@ -634,7 +630,7 @@ gint histo_update_current_time_hook(void *hook_data, void *call_data)
 
   LttvTraceset *traceset =
         lttvwindow_get_traceset(histocontrol_flow_data->tab);
-  TimeInterval time_span = lttv_traceset_get_time_span(traceset);
+  TimeInterval time_span = lttv_traceset_get_time_span_real(traceset);
 
   LttTime trace_start = time_span.start_time;
   LttTime trace_end = time_span.end_time;
@@ -787,8 +783,6 @@ int histo_after_chunk(void *hook_data, void *call_data)
 {
   EventsRequest *events_request = (EventsRequest*)hook_data;
   HistoControlFlowData *histocontrol_flow_data = events_request->viewer_data;
-  LttvTraceset *traceset = (LttvTraceset*)call_data;
-
   LttTime end_time;
 
   histoDrawing_t *drawing = histocontrol_flow_data->drawing;
This page took 0.022983 seconds and 4 git commands to generate.