The pensions set up and provided for in said act shall, in case of the death of the pensioner, if he leaves a widow, be continued to such widow during the remainder ofher life, except such widow’s pension shall cease in case of her remarriage; in case the officer or employee could have secured a pension on account of services but failed to do so and continued in the service and employment of the city, and dies without having a pension set apart for him, his widow may apply for such pension and have same set apart to her during her life of widowhood.