X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2Fmodule.c;h=458bfeb9deb1bcfc4f12b5391da3b77ad012a92c;hb=41a769851adc36c024821e859ed6569409f71d8f;hp=7d47e9d1eee968e0c72aed62a4d3a193bea42438;hpb=bca3b81f050faa6295485fc7dbc3fef45f706d14;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/module.c b/ltt/branches/poly/lttv/modules/guiControlFlow/module.c index 7d47e9d1..458bfeb9 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/module.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/module.c @@ -58,11 +58,11 @@ G_MODULE_EXPORT void init(LttvModule *self, int argc, char *argv[]) { g_critical("GUI ControlFlow Viewer init()"); /* Register the toolbar insert button */ - ToolbarItemReg(hGuiControlFlowInsert_xpm, "Insert Control Flow Viewer", + toolbar_item_reg(hGuiControlFlowInsert_xpm, "Insert Control Flow Viewer", hGuiControlFlow); /* Register the menu item insert entry */ - MenuItemReg("/", "Insert Control Flow Viewer", hGuiControlFlow); + menu_item_reg("/", "Insert Control Flow Viewer", hGuiControlFlow); } @@ -89,9 +89,9 @@ G_MODULE_EXPORT void destroy() { g_slist_free(gControl_Flow_Data_List); /* Unregister the toolbar insert button */ - ToolbarItemUnreg(hGuiControlFlow); + toolbar_item_unreg(hGuiControlFlow); /* Unregister the menu item insert entry */ - MenuItemUnreg(hGuiControlFlow); + menu_item_unreg(hGuiControlFlow); }