In a large saucepan or small sauté pan, soften the onion and garlic in 30 ml (2 tablespoons) olive oil over medium heat. Add the rice and cook for 1 minute, stirring to coat the rice with oil. Deglaze with the wine and continue cooking, stirring often, until all the liquid has been absorbed.