[gimp] plug-ins: file-pdf-save needs two return values now for the error message
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: file-pdf-save needs two return values now for the error message
- Date: Thu, 1 May 2014 18:29:33 +0000 (UTC)
commit d0c67f84c8e55197c57a5c85ba37ec0335510457
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
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 14526d3..7728aaf 100644
--- a/plug-ins/common/file-pdf-save.c
+++ b/plug-ins/common/file-pdf-save.c
@@ -360,7 +360,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;
gboolean single_image;
@@ -379,7 +379,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]