[gimp/gimp-2-10] plug-ins: forward the error message if file-pat-save-internal fails
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] plug-ins: forward the error message if file-pat-save-internal fails
- Date: Sat, 16 Feb 2019 18:05:11 +0000 (UTC)
commit c08932cab043c3181b991e5dc0a78984d7783a7d
Author: Michael Natterer <mitch gimp org>
Date: Sat Feb 16 18:59:01 2019 +0100
plug-ins: forward the error message if file-pat-save-internal fails
(cherry picked from commit b71ebcea6df689668cfa08938973487613417da6)
plug-ins/common/file-pat.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/plug-ins/common/file-pat.c b/plug-ins/common/file-pat.c
index a669dd1db1..26795ab19a 100644
--- a/plug-ins/common/file-pat.c
+++ b/plug-ins/common/file-pat.c
@@ -231,6 +231,11 @@ run (const gchar *name,
}
else
{
+ g_set_error (&error, 0, 0,
+ "Running procedure 'file-pat-save-internal' "
+ "failed: %s",
+ gimp_get_pdb_error ());
+
status = GIMP_PDB_EXECUTION_ERROR;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]