[gimp] app: fix unit test.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix unit test.
- Date: Wed, 12 Jun 2019 18:57:43 +0000 (UTC)
commit 5335f313d97f65a3f8f8f21159e6bd7c699f67d2
Author: Jehan <jehan girinstud io>
Date: Wed Jun 12 20:56:49 2019 +0200
app: fix unit test.
gimp_image_parasite_attach() now has a push_undo parameter.
See commit 710cfc1f478a2d9b75b622ee1445972feeb19c9a.
app/tests/test-xcf.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index 843c641430..9a10ac1cac 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]