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);
}
g_critical("GUI Control Flow Viewer destroy()");
int i;
- ControlFlowData *Control_Flow_Data;
-
g_slist_foreach(gControl_Flow_Data_List, destroy_walk, NULL );
+ 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);
}