After 443947c6, the image layers were being passed as a GList to the internal GIH export code rather than GimpDrawable pointers.