app: fix the image's projection to 8 bit until we got a GEGL projection

This commit is contained in:
Michael Natterer 2012-04-22 21:09:27 +02:00
parent a34afd63d8
commit ccbd46afce
1 changed files with 10 additions and 0 deletions

View File

@ -1291,10 +1291,20 @@ gimp_image_get_proj_format (GimpProjectable *projectable)
{
case GIMP_RGB:
case GIMP_INDEXED:
#if 0
/* XXX use real format once the legacy projection is gone */
return gimp_image_get_format (image, GIMP_RGB, TRUE);
#else
return babl_format ("R'G'B'A u8");
#endif
case GIMP_GRAY:
#if 0
/* XXX use real format once the legacy projection is gone */
return gimp_image_get_format (image, GIMP_GRAY, TRUE);
#else
return babl_format ("Y'A u8");
#endif
}
g_assert_not_reached ();