[gimp] app: make tests build again after file_open_image() signature change



commit 7fa730b1c75ab86dbcec37c336ae020e91b20704
Author: Michael Natterer <mitch gimp org>
Date:   Thu Sep 12 00:05:17 2019 +0200

    app: make tests build again after file_open_image() signature change

 app/tests/test-save-and-export.c | 4 ----
 app/tests/test-xcf.c             | 1 -
 2 files changed, 5 deletions(-)
---
diff --git a/app/tests/test-save-and-export.c b/app/tests/test-save-and-export.c
index 23be8d9b7e..50fbd24ddc 100644
--- a/app/tests/test-save-and-export.c
+++ b/app/tests/test-save-and-export.c
@@ -117,7 +117,6 @@ opened_xcf_file_files (gconstpointer data)
                            gimp_get_user_context (gimp),
                            NULL /*progress*/,
                            file,
-                           file,
                            FALSE /*as_new*/,
                            NULL /*file_proc*/,
                            GIMP_RUN_NONINTERACTIVE,
@@ -158,7 +157,6 @@ imported_file_files (gconstpointer data)
                            gimp_get_user_context (gimp),
                            NULL /*progress*/,
                            file,
-                           file,
                            FALSE /*as_new*/,
                            NULL /*file_proc*/,
                            GIMP_RUN_NONINTERACTIVE,
@@ -207,7 +205,6 @@ saved_imported_file_files (gconstpointer data)
                            gimp_get_user_context (gimp),
                            NULL /*progress*/,
                            import_file,
-                           import_file,
                            FALSE /*as_new*/,
                            NULL /*file_proc*/,
                            GIMP_RUN_NONINTERACTIVE,
@@ -315,7 +312,6 @@ clear_import_file_after_export (gconstpointer data)
                            gimp_get_user_context (gimp),
                            NULL /*progress*/,
                            file,
-                           file,
                            FALSE /*as_new*/,
                            NULL /*file_proc*/,
                            GIMP_RUN_NONINTERACTIVE,
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index 6cf313d118..cca6c4c0e9 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -267,7 +267,6 @@ gimp_test_load_image (Gimp  *gimp,
                            gimp_get_user_context (gimp),
                            NULL /*progress*/,
                            file,
-                           file,
                            FALSE /*as_new*/,
                            proc,
                            GIMP_RUN_NONINTERACTIVE,


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