gimp r26997 - in trunk: . plug-ins/script-fu
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26997 - in trunk: . plug-ins/script-fu
- Date: Thu, 18 Sep 2008 15:41:00 +0000 (UTC)
Author: mitch
Date: Thu Sep 18 15:40:59 2008
New Revision: 26997
URL: http://svn.gnome.org/viewvc/gimp?rev=26997&view=rev
Log:
2008-09-18 Michael Natterer <mitch gimp org>
Bug 552785 â Script-fu run errors do not show in UI
* plug-ins/script-fu/script-fu-scripts.c (script_fu_script_proc):
fix the code that passes the error message back via the pipe.
Modified:
trunk/ChangeLog
trunk/plug-ins/script-fu/script-fu-scripts.c
Modified: trunk/plug-ins/script-fu/script-fu-scripts.c
==============================================================================
--- trunk/plug-ins/script-fu/script-fu-scripts.c (original)
+++ trunk/plug-ins/script-fu/script-fu-scripts.c Thu Sep 18 15:40:59 2008
@@ -758,7 +758,8 @@
{
status = GIMP_PDB_EXECUTION_ERROR;
*nreturn_vals = 2;
- values[2].data.d_string = error->message;
+ values[1].type = GIMP_PDB_STRING;
+ values[1].data.d_string = error->message;
}
g_free (command);
@@ -779,7 +780,8 @@
{
status = GIMP_PDB_EXECUTION_ERROR;
*nreturn_vals = 2;
- values[2].data.d_string = error->message;
+ values[1].type = GIMP_PDB_STRING;
+ values[1].data.d_string = error->message;
}
g_free (command);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]