X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fgui%2Fhistogram%2Fhistoeventhooks.c;h=1fa2ef7f108d8bed9750877952dc9220abd820fc;hb=b9ce0bad7daf7c0a2333c91fdb1e35d602afe17f;hp=46aeca526a94bf6717ae7a074138ef2d999d08c1;hpb=64242d134638369e81510c880ae66a88beba9c1b;p=lttv.git diff --git a/lttv/modules/gui/histogram/histoeventhooks.c b/lttv/modules/gui/histogram/histoeventhooks.c index 46aeca52..1fa2ef7f 100644 --- a/lttv/modules/gui/histogram/histoeventhooks.c +++ b/lttv/modules/gui/histogram/histoeventhooks.c @@ -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. */ @@ -59,10 +59,6 @@ //#include -#include -#include -#include - #include #include #include @@ -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;