mirror of https://github.com/GNOME/gimp.git
app: fix precision condition for indexed images
This commit is contained in:
parent
2cb15f8669
commit
4c83e208d4
|
@ -1498,7 +1498,7 @@ gimp_image_new (Gimp *gimp,
|
|||
{
|
||||
g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
|
||||
g_return_val_if_fail (base_type != GIMP_INDEXED ||
|
||||
precision != GIMP_PRECISION_U8, NULL);
|
||||
precision == GIMP_PRECISION_U8, NULL);
|
||||
|
||||
return g_object_new (GIMP_TYPE_IMAGE,
|
||||
"gimp", gimp,
|
||||
|
|
Loading…
Reference in New Issue