If that happens to me, I usually deflect the comment with a brief acknowledgement, then I gently but firmly steer the conversation in a different direction with a QUESTION. This will make her more willing to make the transition from one topic to another, and it also makes it apparent to her that you're willing to listen, just not willing to listen to her talk about other guys.