X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FEvent_Hooks.c;h=06f413cabb7e12d605a46dc789c55fe37eab7cc1;hb=a5dcde2f975b43a9c6069c4a346528588bf1f8c8;hp=3c0f6e815697b256ac9611a972014c250377a172;hpb=cf6cb7e0d0462bba8b38d00adc593c0107b79f37;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c index 3c0f6e81..06f413ca 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c @@ -302,20 +302,20 @@ void send_test_process(ProcessList *Process_List, Drawing_t *Drawing) * @return The widget created. */ GtkWidget * -hGuiControlFlow(mainWindow *pmParentWindow) +hGuiControlFlow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * key) { g_critical("hGuiControlFlow"); ControlFlowData *Control_Flow_Data = GuiControlFlow() ; - GetTimeWindow(pmParentWindow, + get_time_window(pmParentWindow, GuiControlFlow_get_Time_Window(Control_Flow_Data)); - GetCurrentTime(pmParentWindow, + get_current_time(pmParentWindow, GuiControlFlow_get_Current_Time(Control_Flow_Data)); // Unreg done in the GuiControlFlow_Destructor - RegUpdateTimeWindow(Update_Time_Window_Hook, Control_Flow_Data, + reg_update_time_window(Update_Time_Window_Hook, Control_Flow_Data, pmParentWindow); - RegUpdateCurrentTime(Update_Current_Time_Hook, Control_Flow_Data, + reg_update_current_time(Update_Current_Time_Hook, Control_Flow_Data, pmParentWindow); return GuiControlFlow_get_Widget(Control_Flow_Data) ; @@ -403,10 +403,10 @@ void Update_Time_Window_Hook(void *hook_data, void *call_data) *Time_Window = *New_Time_Window; g_critical("New time window HOOK : %u, %u to %u, %u", - Time_Window->startTime.tv_sec, - Time_Window->startTime.tv_nsec, - Time_Window->Time_Width.tv_sec, - Time_Window->Time_Width.tv_nsec); + Time_Window->start_time.tv_sec, + Time_Window->start_time.tv_nsec, + Time_Window->time_width.tv_sec, + Time_Window->time_width.tv_nsec); Drawing_Data_Request(Control_Flow_Data->Drawing, &Control_Flow_Data->Drawing->Pixmap,