X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.c;h=d2009771d83fdbc5dd98e97d63eb70b17468e00c;hb=6ea089620900a1e1353112b14ccb3b6df05a9883;hp=cac8e12600c09d3156cafa8ee0c6717f5cd26bab;hpb=4d39be09fda397de58798c73a8273517767e3e93;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c index cac8e126..d2009771 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c @@ -904,12 +904,12 @@ void lttvwindow_events_request_remove_all(Tab *tab, * shown time interval of the viewer and also be called by the constructor * of the viewer. * @param tab viewer's tab - * @param time_interval a pointer where time interval will be stored. + * @return time window. */ -const TimeWindow *lttvwindow_get_time_window(Tab *tab) +TimeWindow lttvwindow_get_time_window(Tab *tab) { - return &(tab->time_window); + return tab->time_window; } @@ -919,12 +919,12 @@ const TimeWindow *lttvwindow_get_time_window(Tab *tab) * It will be called by a viewer's hook function to update the * current time/event of the viewer. * @param tab viewer's tab - * @param time a pointer where time will be stored. + * @return time */ -const LttTime *lttvwindow_get_current_time(Tab *tab) +LttTime lttvwindow_get_current_time(Tab *tab) { - return &(tab->current_time); + return tab->current_time; }