mirror of https://github.com/GNOME/gimp.git
app: use GIMP_LAYER_MODE_NORMAL for most tests in app/tests/
This commit is contained in:
parent
77f51dd737
commit
730573375d
|
@ -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,
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue