[gimp/gimp-2-8] app: adapt tests to file_save() API change



commit a42a02e1a7419aa7a0de2ab3a32cc0a727eaa5c1
Author: Michael Natterer <mitch gimp org>
Date:   Thu Aug 23 21:06:41 2012 +0200

    app: adapt tests to file_save() API change

 app/tests/test-save-and-export.c |    9 ++++++---
 app/tests/test-xcf.c             |    3 ++-
 2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/app/tests/test-save-and-export.c b/app/tests/test-save-and-export.c
index 574a1f3..498cd76 100644
--- a/app/tests/test-save-and-export.c
+++ b/app/tests/test-save-and-export.c
@@ -219,7 +219,8 @@ saved_imported_file_uris (gconstpointer data)
              proc,
              GIMP_RUN_NONINTERACTIVE,
              TRUE /*change_saved_state*/,
-             FALSE /*export*/,
+             FALSE /*export_backward*/,
+             FALSE /*export_forward*/,
              NULL /*error*/);
 
   /* Assert */
@@ -259,7 +260,8 @@ exported_file_uris (gconstpointer data)
              proc,
              GIMP_RUN_NONINTERACTIVE,
              FALSE /*change_saved_state*/,
-             TRUE /*export*/,
+             FALSE /*export_backward*/,
+             TRUE /*export_forward*/,
              NULL /*error*/);
 
   g_assert (gimp_image_get_uri (image) == NULL);
@@ -323,7 +325,8 @@ clear_import_uri_after_export (gconstpointer data)
              proc,
              GIMP_RUN_NONINTERACTIVE,
              FALSE /*change_saved_state*/,
-             TRUE /*export*/,
+             FALSE /*export_backward*/,
+             TRUE /*export_forward*/,
              NULL /*error*/);
 
   g_assert (gimp_image_get_uri (image) == NULL);
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index feed55f..cc0e86c 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -312,7 +312,8 @@ gimp_write_and_read_file (Gimp     *gimp,
              proc,
              GIMP_RUN_NONINTERACTIVE,
              FALSE /*change_saved_state*/,
-             FALSE /*export*/,
+             FALSE /*export_backward*/,
+             FALSE /*export_forward*/,
              NULL /*error*/);
 
   /* Load from file */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]