Update FSF address
[lttv.git] / lttv / modules / gui / histogram / histoeventhooks.c
index 46aeca526a94bf6717ae7a074138ef2d999d08c1..1fa2ef7f108d8bed9750877952dc9220abd820fc 100644 (file)
@@ -12,8 +12,8 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA 02110-1301, USA.
  */
 
 
 
 //#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.025744 seconds and 4 git commands to generate.