From: compudj Date: Wed, 12 Nov 2003 12:31:05 +0000 (+0000) Subject: change function names, fixes X-Git-Tag: v0.12.20~3153 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3cff8cc1d88c1b4ebb51f420e3bc573643d653b8;p=lttv.git change function names, fixes git-svn-id: http://ltt.polymtl.ca/svn@336 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/CFV.c b/ltt/branches/poly/lttv/modules/guiControlFlow/CFV.c index 109d5a03..253b17bc 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/CFV.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/CFV.c @@ -146,11 +146,11 @@ guicontrolflow_destructor(ControlFlowData *Control_Flow_Data) /* Process List is removed with it's widget */ //ProcessList_destroy(Control_Flow_Data->Process_List); - unreg_update_time_window(Update_Time_Window_Hook, + unreg_update_time_window(update_time_window_hook, Control_Flow_Data, Control_Flow_Data->Scrolled_Window_VC->parent); - unreg_update_current_time(Update_Current_Time_Hook, + unreg_update_current_time(update_current_time_hook, Control_Flow_Data, Control_Flow_Data->Scrolled_Window_VC->parent); diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c index e1eb88d9..cacabf5c 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Drawing.c @@ -190,7 +190,7 @@ Drawing_t *drawing_construct(ControlFlowData *Control_Flow_Data) G_OBJECT(Drawing->Drawing_Area_V), "Link_Drawing_Data", Drawing, - (GDestroyNotify)Drawing_destroy); + (GDestroyNotify)drawing_destroy); //gtk_widget_modify_bg( Drawing->Drawing_Area_V, // GTK_STATE_NORMAL, diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c index d0ab1812..aa44c659 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c @@ -313,15 +313,15 @@ h_guicontrolflow(MainWindow *pmParentWindow, LttvTracesetSelector * s, char * ke GuiControlFlow_get_Current_Time(Control_Flow_Data)); // Unreg done in the GuiControlFlow_Destructor - reg_update_time_window(Update_Time_Window_Hook, Control_Flow_Data, + reg_update_time_window(update_time_window_hook, Control_Flow_Data, pmParentWindow); - reg_update_current_time(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) ; + return guicontrolflow_get_widget(Control_Flow_Data) ; } -int Event_Selected_Hook(void *hook_data, void *call_data) +int event_selected_hook(void *hook_data, void *call_data) { ControlFlowData *Control_Flow_Data = (ControlFlowData*) hook_data; guint *Event_Number = (guint*) call_data; @@ -393,7 +393,7 @@ void update_time_window_hook(void *hook_data, void *call_data) { ControlFlowData *Control_Flow_Data = (ControlFlowData*) hook_data; TimeWindow* Time_Window = - GuiControlFlow_get_Time_Window(Control_Flow_Data); + guicontrolflow_get_time_window(Control_Flow_Data); TimeWindow *New_Time_Window = ((TimeWindow*)call_data); // As the time interval change will mostly be used for diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/module.c b/ltt/branches/poly/lttv/modules/guiControlFlow/module.c index 458bfeb9..2d4419d4 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/module.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/module.c @@ -59,10 +59,10 @@ G_MODULE_EXPORT void init(LttvModule *self, int argc, char *argv[]) { /* Register the toolbar insert button */ toolbar_item_reg(hGuiControlFlowInsert_xpm, "Insert Control Flow Viewer", - hGuiControlFlow); + h_guicontrolflow); /* Register the menu item insert entry */ - menu_item_reg("/", "Insert Control Flow Viewer", hGuiControlFlow); + menu_item_reg("/", "Insert Control Flow Viewer", h_guicontrolflow); } @@ -89,9 +89,9 @@ G_MODULE_EXPORT void destroy() { g_slist_free(gControl_Flow_Data_List); /* Unregister the toolbar insert button */ - toolbar_item_unreg(hGuiControlFlow); + toolbar_item_unreg(h_guicontrolflow); /* Unregister the menu item insert entry */ - menu_item_unreg(hGuiControlFlow); + menu_item_unreg(h_guicontrolflow); }