How can i remove paint from a glass pane?

I painted an interior door and some varnish has got on to the glass panes contained within the door. I have tried to remove the varnish with white spirit but to no avail. I would be grateful if anyone can provide some assistance