X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2FmainWin%2Fsrc%2Fgtkcustom.c;h=cd914cd87b42059dc1a3d7c0236b5fce131155b1;hb=c20b777774c004d42e93df0b56f4065b2682af49;hp=e2d32179bf78ada9e0aa577333c7e08a598150b7;hpb=bca3b81f050faa6295485fc7dbc3fef45f706d14;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 e2d32179..cd914cd8 100644 --- a/ltt/branches/poly/lttv/modules/gui/mainWin/src/gtkcustom.c +++ b/ltt/branches/poly/lttv/modules/gui/mainWin/src/gtkcustom.c @@ -122,8 +122,8 @@ void gtk_custom_widget_add(GtkCustom * custom, GtkWidget * widget1) gtk_widget_show(custom->hscrollbar); custom->hadjust = gtk_range_get_adjustment(GTK_RANGE(custom->hscrollbar)); - GetTimeWindow(custom->mw,&Time_Window); - GetCurrentTime(custom->mw,&time); + get_time_window(custom->mw,&Time_Window); + get_current_time(custom->mw,&time); Time_Span = LTTV_TRACESET_CONTEXT(custom->mw->traceset_info->traceset_context)->Time_Span ; custom->hadjust->lower = ltt_time_to_double(Time_Span->startTime) * @@ -310,7 +310,7 @@ void gtk_custom_scroll_value_changed(GtkRange *range, gpointer custom_arg) GtkCustom * custom = (GtkCustom*)custom_arg; gdouble value = gtk_range_get_value(range); time = ltt_time_from_double(value / NANOSECONDS_PER_SECOND); - SetCurrentTime(custom->mw, &time); + set_current_time(custom->mw, &time); g_warning("The current time is second :%d, nanosecond : %d\n", time.tv_sec, time.tv_nsec); }