[gimp/gimp-2-8] plug-ins: file-pdf-save needs two return values now for the error message
- From: Hartmut Kuhse <hartmutkuhse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] plug-ins: file-pdf-save needs two return values now for the error message
- Date: Sat, 3 May 2014 09:48:02 +0000 (UTC)
commit 96fb9ab650a723a0979bfd4534aed9820ca4cf6d
Author: Michael Natterer <mitch gimp org>
Date: Thu May 1 20:27:10 2014 +0200
plug-ins: file-pdf-save needs two return values now for the error message
(cherry picked from commit d0c67f84c8e55197c57a5c85ba37ec0335510457)
plug-ins/common/file-pdf-save.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/common/file-pdf-save.c b/plug-ins/common/file-pdf-save.c
index bee046e..b9e1100 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -339,7 +339,7 @@ run (const gchar *name,
gint *nreturn_vals,
GimpParam **return_vals)
{
- static GimpParam values[1];
+ static GimpParam values[2];
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
GimpRunMode run_mode;
@@ -385,7 +385,7 @@ run (const gchar *name,
*nreturn_vals = 1;
*return_vals = values;
- values[0].type = GIMP_PDB_STATUS;
+ values[0].type = GIMP_PDB_STATUS;
values[0].data.d_status = status;
/* Initializing all the settings */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]