[gimp] file-exr: use gimp_pdb_get_last_error() instead of gimp_get_pdb_error()



commit 7edd28706f4e0a2380a4c07fdcbccf5605508c09
Author: Michael Natterer <mitch gimp org>
Date:   Thu Aug 15 19:03:09 2019 +0200

    file-exr: use gimp_pdb_get_last_error() instead of gimp_get_pdb_error()

 plug-ins/file-exr/file-exr.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plug-ins/file-exr/file-exr.c b/plug-ins/file-exr/file-exr.c
index 407d37a742..4896da3345 100644
--- a/plug-ins/file-exr/file-exr.c
+++ b/plug-ins/file-exr/file-exr.c
@@ -252,7 +252,8 @@ load_image (const gchar  *filename,
     {
       g_set_error (error, 0, 0,
                    _("Could not create new image for '%s': %s"),
-                   gimp_filename_to_utf8 (filename), gimp_get_pdb_error ());
+                   gimp_filename_to_utf8 (filename),
+                   gimp_pdb_get_last_error (gimp_get_pdb ()));
       goto out;
     }
 


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