app: fix unit test.

gimp_image_parasite_attach() now has a push_undo parameter.
See commit 710cfc1f47.
This commit is contained in:
Jehan 2019-06-12 20:56:49 +02:00
parent 6786343909
commit 5335f313d9
1 changed files with 2 additions and 3 deletions

View File

@ -464,14 +464,13 @@ gimp_create_mainimage (Gimp *gimp,
GIMP_PARASITE_PERSISTENT,
GIMP_MAINIMAGE_PARASITE_SIZE,
GIMP_MAINIMAGE_PARASITE_DATA);
gimp_image_parasite_attach (image,
parasite);
gimp_image_parasite_attach (image, parasite, FALSE);
gimp_parasite_free (parasite);
parasite = gimp_parasite_new ("gimp-comment",
GIMP_PARASITE_PERSISTENT,
strlen (GIMP_MAINIMAGE_COMMENT) + 1,
GIMP_MAINIMAGE_COMMENT);
gimp_image_parasite_attach (image, parasite);
gimp_image_parasite_attach (image, parasite, FALSE);
gimp_parasite_free (parasite);