You have two options...
1) Let it all out. Sit her down one on one and make her listen to you. Be sincere about everything you say. Let it all out. Tell her you're sorry for looking (because you are..) but tell her what you found. Give her a chance to try to explain herself. I'm confused as to what she'll say because of the situation..I'm suspecting
a) oh, i wasn't flirting. it was just casual conversation
or
b) well, we aren't together anymore. I'll talk to who I want.
then you have a few ways to go about it..if you really love her just pour your heart out and tell her you meant it when you said it would hurt if you fell in love with another guy. Tell her you understand people change, but you still love her. Tell her you want her back.
or, option 2..
2) Just drop her. If she's going to go behind your back and betray you like that, you could always just give up on her.
Personally, unless you're very young or this is your first girlfriend, you probably know how hard it is to find a girl you love. So, personally...I'd go with option 1. Don't let a girl like that go.
I'll check back here later on, but if you need me here's my MSN:
[email protected]
Good luck