Avoid The Candy
I don't like the phrase : " on a diet
", because going " on " implies going "off".
Actually a permanent lifestyle change should be her goal. It is also best to know why someone gained weight in the first place before a solution is applied. She could be weak for any number of reasons, but giving your girlfriend candy is not really a good idea. Find out why she is "weak" if possible.