X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2FmainWin%2Fsrc%2Fgtkcustom.c;h=05f56448281e437fd3c01a094d7e50b09fb1d3b0;hb=716e4367df9c21316d326ee18b703cd0d25ace74;hp=1d4c68aafc3408f68b1b5f3ab274397ecfc39583;hpb=606309a4411d7405f9d3ab0ce151cf9896f853a4;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/mainWin/src/gtkcustom.c b/ltt/branches/poly/lttv/modules/gui/mainWin/src/gtkcustom.c index 1d4c68aa..05f56448 100644 --- a/ltt/branches/poly/lttv/modules/gui/mainWin/src/gtkcustom.c +++ b/ltt/branches/poly/lttv/modules/gui/mainWin/src/gtkcustom.c @@ -111,7 +111,8 @@ void gtk_custom_set_adjust(GtkCustom * custom, gboolean first_time) get_time_window(custom->mw,&time_window); if(first_time){ - time_span = LTTV_TRACESET_CONTEXT(custom->mw->traceset_info->traceset_context)->Time_Span ; + time_span = LTTV_TRACESET_CONTEXT(custom->mw->current_tab->traceset_info-> + traceset_context)->Time_Span ; custom->hadjust->lower = ltt_time_to_double(time_span->startTime) * NANOSECONDS_PER_SECOND;