gimp_rgb_to_hsl and hsl_to_rgb reads the a member, so set it before calling them. Add gimp_hsl_set_alpha() for this purpose. Found by coverity