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

This commit is contained in:
Michael Natterer 2019-08-15 19:03:09 +02:00
parent c6fa23c22c
commit 7edd28706f
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}