White is ok, it's cleaning fluid.
It should not, however, glue the pig's eye shut. GuineaPigLuvr, get that pig to a vet RIGHT AWAY. She likely has an upper respiratory infection that must be treated immediately. Read this, everyone:
Guinea Lynx :: What's Normal?.