app: use GIMP_LAYER_MODE_NORMAL for most tests in app/tests/

This commit is contained in:
Michael Natterer 2017-08-20 12:58:13 +02:00
parent 77f51dd737
commit 730573375d
3 changed files with 5 additions and 5 deletions

View File

@ -138,7 +138,7 @@ gimp_test_utils_create_image (Gimp *gimp,
gimp_image_get_layer_format (image, TRUE),
"layer1",
1.0,
GIMP_LAYER_MODE_NORMAL_LEGACY);
GIMP_LAYER_MODE_NORMAL);
gimp_image_add_layer (image,
layer,

View File

@ -127,7 +127,7 @@ rotate_non_overlapping (GimpTestFixture *fixture,
babl_format ("R'G'B'A u8"),
"Test Layer",
GIMP_OPACITY_OPAQUE,
GIMP_LAYER_MODE_NORMAL_LEGACY);
GIMP_LAYER_MODE_NORMAL);
g_assert_cmpint (GIMP_IS_LAYER (layer), ==, TRUE);
@ -167,7 +167,7 @@ add_layer (GimpTestFixture *fixture,
babl_format ("R'G'B'A u8"),
"Test Layer",
GIMP_OPACITY_OPAQUE,
GIMP_LAYER_MODE_NORMAL_LEGACY);
GIMP_LAYER_MODE_NORMAL);
g_assert_cmpint (GIMP_IS_LAYER (layer), ==, TRUE);
@ -204,7 +204,7 @@ remove_layer (GimpTestFixture *fixture,
babl_format ("R'G'B'A u8"),
"Test Layer",
GIMP_OPACITY_OPAQUE,
GIMP_LAYER_MODE_NORMAL_LEGACY);
GIMP_LAYER_MODE_NORMAL);
g_assert_cmpint (GIMP_IS_LAYER (layer), ==, TRUE);

View File

@ -236,7 +236,7 @@ create_new_image_via_dialog (gconstpointer data)
gimp_image_get_layer_format (image, TRUE),
"Layer for testing",
GIMP_OPACITY_OPAQUE,
GIMP_LAYER_MODE_NORMAL_LEGACY);
GIMP_LAYER_MODE_NORMAL);
gimp_image_add_layer (image, layer,
GIMP_IMAGE_ACTIVE_PARENT, -1, TRUE);