This is one reason, though, that people tend to be cautious about accepting food gifts from other people. If someone asks me, I'll tell them I'm vegan - and they, like Art1, may assume that it means I am fine with eating milk and eggs, when I'm not. On Monday at work our supervisor's boss left packages of chocolate on everyone's desk. I just gave mine to my friend in the next cubicle.
I do appreciate any gifts I am given, and try to pass them along if they aren't appropriate for me. It is the thought that counts.