[gimp] 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] plug-ins: forward the error message if file-pat-save-internal fails
- Date: Sat, 16 Feb 2019 17:59:53 +0000 (UTC)
commit b71ebcea6df689668cfa08938973487613417da6
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
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 51c899d163..05c106a7ca 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]