- Main_Win_Module = lttv_module_require(self, "mainwin", argc, argv);
-
- if(Main_Win_Module == NULL)
- {
- g_critical("Can't load Control Flow Viewer : missing mainwin\n");
- return;
- }
-
- g_critical("GUI ControlFlow Viewer init()");
-
- /* Register the toolbar insert button */
- ToolbarItemReg(hGuiControlFlowInsert_xpm, "Insert Control Flow Viewer",
- hGuiControlFlow);
-
- /* Register the menu item insert entry */
- MenuItemReg("/", "Insert Control Flow Viewer", hGuiControlFlow);
-
+ Main_Win_Module = lttv_module_require(self, "mainwin", argc, argv);
+
+ if(Main_Win_Module == NULL)
+ {
+ g_critical("Can't load Control Flow Viewer : missing mainwin\n");
+ return;
+ }
+
+ g_info("GUI ControlFlow Viewer init()");
+
+ /* Register the toolbar insert button */
+ toolbar_item_reg(hGuiControlFlowInsert_xpm, "Insert Control Flow Viewer",
+ h_guicontrolflow);
+
+ /* Register the menu item insert entry */
+ menu_item_reg("/", "Insert Control Flow Viewer", h_guicontrolflow);
+